com.swfm.mica.renderers
Class MiBorderLookRenderer

java.lang.Object
  extended bycom.swfm.mica.renderers.MiDeviceRenderer
      extended bycom.swfm.mica.renderers.MiBorderLookRenderer
All Implemented Interfaces:
MiiAttributeTypes, MiiDeviceRenderer, MiiTypes

public class MiBorderLookRenderer
extends com.swfm.mica.renderers.MiDeviceRenderer
implements MiiTypes, MiiAttributeTypes

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
     
Constructor Summary
MiBorderLookRenderer()
           
 
Method Summary
 boolean drawLine(java.awt.Graphics g, MiAttributes attributes, int x1, int y1, int x2, int y2)
           
 boolean drawOval(java.awt.Graphics g, MiAttributes attributes, int xmin, int ymin, int width, int height)
           
 boolean drawPolygon(java.awt.Graphics g, MiAttributes attributes, int[] xpts, int[] ypts, int numPts)
           
 boolean drawRect(java.awt.Graphics g, MiAttributes attributes, int xmin, int ymin, int width, int height)
           
 boolean drawRoundRect(java.awt.Graphics g, MiAttributes attributes, int xmin, int ymin, int width, int height, int arcWidth, int arcHeight)
           
 boolean drawText(java.awt.Graphics g, MiAttributes attributes, java.lang.String text, int x, int y)
           
 boolean getBounds(MiAttributes attributes, MiBounds drawBounds, MiBounds renderedBounds)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiBorderLookRenderer

public MiBorderLookRenderer()
Method Detail

getBounds

public boolean getBounds(MiAttributes attributes,
                         MiBounds drawBounds,
                         MiBounds renderedBounds)
Specified by:
getBounds in interface MiiDeviceRenderer

drawLine

public boolean drawLine(java.awt.Graphics g,
                        MiAttributes attributes,
                        int x1,
                        int y1,
                        int x2,
                        int y2)
Specified by:
drawLine in interface MiiDeviceRenderer

drawRect

public boolean drawRect(java.awt.Graphics g,
                        MiAttributes attributes,
                        int xmin,
                        int ymin,
                        int width,
                        int height)
Specified by:
drawRect in interface MiiDeviceRenderer

drawRoundRect

public boolean drawRoundRect(java.awt.Graphics g,
                             MiAttributes attributes,
                             int xmin,
                             int ymin,
                             int width,
                             int height,
                             int arcWidth,
                             int arcHeight)
Specified by:
drawRoundRect in interface MiiDeviceRenderer

drawPolygon

public boolean drawPolygon(java.awt.Graphics g,
                           MiAttributes attributes,
                           int[] xpts,
                           int[] ypts,
                           int numPts)
Specified by:
drawPolygon in interface MiiDeviceRenderer

drawOval

public boolean drawOval(java.awt.Graphics g,
                        MiAttributes attributes,
                        int xmin,
                        int ymin,
                        int width,
                        int height)
Specified by:
drawOval in interface MiiDeviceRenderer

drawText

public boolean drawText(java.awt.Graphics g,
                        MiAttributes attributes,
                        java.lang.String text,
                        int x,
                        int y)
Specified by:
drawText in interface MiiDeviceRenderer