com.partnersoft.editor.editors
Class TextStylePreview

java.lang.Object
  extended by com.partnersoft.codex.editors.AbstractCogPreview
      extended by com.partnersoft.editor.editors.TextStylePreview
All Implemented Interfaces:
CogPreview

public class TextStylePreview
extends AbstractCogPreview


Constructor Summary
TextStylePreview()
           
 
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.codex.editors.AbstractCogPreview
getGui, getModel, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextStylePreview

public TextStylePreview()
Method Detail

getHeightImp

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

getWidthImp

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

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 AbstractCogPreview