com.partnersoft.maps.gui
Class TextStyleViewer

java.lang.Object
  extended by com.partnersoft.gui.viewer.AbstractCustomPaintedViewer
      extended by com.partnersoft.maps.gui.TextStyleViewer
All Implemented Interfaces:
GuiViewer

public class TextStyleViewer
extends AbstractCustomPaintedViewer


Constructor Summary
TextStyleViewer(TextStyle style)
           
 
Method Summary
protected  int getHeightImp(java.lang.Object value)
           
protected  int getWidthImp(java.lang.Object value)
           
protected  void paintImp(java.awt.Component c, java.awt.Graphics g, int x, int y, java.lang.Object value)
           
 
Methods inherited from class com.partnersoft.gui.viewer.AbstractCustomPaintedViewer
getGui, getViewed, setViewed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextStyleViewer

public TextStyleViewer(TextStyle style)
Method Detail

getHeightImp

protected int getHeightImp(java.lang.Object value)
Specified by:
getHeightImp in class AbstractCustomPaintedViewer

getWidthImp

protected int getWidthImp(java.lang.Object value)
Specified by:
getWidthImp in class AbstractCustomPaintedViewer

paintImp

protected void paintImp(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        java.lang.Object value)
Specified by:
paintImp in class AbstractCustomPaintedViewer