|
FreeHEP API Version v1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.freehep.swing.graphics.AbstractPanelArtist | +--org.freehep.postscript.PSPanelArtist
PostScript Panel Artist for PostScript Processor,
Field Summary | |
protected PSObject |
data
|
protected boolean |
debug
|
protected static String |
PANEL_NAME
|
protected PSPanel |
psPanel
|
protected StackedPanel |
stackedPanel
|
Constructor Summary | |
PSPanelArtist(StackedPanel panel,
boolean debug)
|
Method Summary | |
void |
abortDraw()
This method aborts any drawing which is being done in another thread. |
boolean |
drawPanel()
This method draws the graphics onto the StackedPanel. |
JComponent |
getControlPanel()
This method returns a JComponent which contains controls for the given PanelArtist. |
String |
getDescription()
This returns a descriptive string for this PanelArtist. |
Object |
getEventData()
This method returns the data sample which is currently being used. |
StackedPanel |
getStackedPanel()
Return the StackedPanel which is being controlled. |
void |
graphicalSelectionMade(GraphicalSelectionEvent event)
Called when the user makes a graphical selection. |
void |
panelResized()
This method is called when the size of the StackedPanel has changed. |
void |
setEventData(Object data)
This method sets which data sample should be used. |
void |
setStackedPanel(StackedPanel panel)
Set the StackedPanel that this PanelArtist will control. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String PANEL_NAME
protected PSObject data
protected StackedPanel stackedPanel
protected boolean debug
protected PSPanel psPanel
Constructor Detail |
public PSPanelArtist(StackedPanel panel, boolean debug)
Method Detail |
public String getDescription()
PanelArtist
public boolean drawPanel()
PanelArtist
public void setEventData(Object data)
PanelArtist
data
- data sample to usepublic Object getEventData()
PanelArtist
public void setStackedPanel(StackedPanel panel)
PanelArtist
panel
- StackedPanel to controlpublic StackedPanel getStackedPanel()
PanelArtist
public void abortDraw()
PanelArtist
public void panelResized()
PanelArtist
public JComponent getControlPanel()
PanelArtist
public void graphicalSelectionMade(GraphicalSelectionEvent event)
GraphicalSelectionListener
|
FreeHEP API Version v1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |