com.partnersoft.codex.editors
Class AbstractCogPreview
java.lang.Object
com.partnersoft.codex.editors.AbstractCogPreview
- All Implemented Interfaces:
- CogPreview
- Direct Known Subclasses:
- LineStylePreview, PointStylePreview, TextStylePreview
public abstract class AbstractCogPreview
- extends java.lang.Object
- implements CogPreview
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCogPreview
public AbstractCogPreview()
getModel
public CogModel getModel()
- Specified by:
getModel in interface CogPreview
setModel
public void setModel(CogModel newModel)
- Specified by:
setModel in interface CogPreview
getGui
public javax.swing.JComponent getGui()
- Specified by:
getGui in interface CogPreview
getHeightImp
protected abstract int getHeightImp(java.lang.Object value)
getWidthImp
protected abstract int getWidthImp(java.lang.Object value)
paintImp
protected abstract void paintImp(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
java.lang.Object value)