public interface RecordPlot
extends org.freehep.swing.undo.UndoableEditProcessor
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Adds a change listener
|
RecordPlot |
copy(String name,
Object record,
boolean supportUndo)
Returns a copy of this plot, attached to the given objects, from the
given parameters.
|
void |
drawShape(Shape shape)
Draws the shape for feedback/interactivity purposes
|
GraphicsPanel |
getGraphicsPanel()
Returns the associated Graphics Panel.
|
int |
getHeight()
Returns height of plot.
|
InteractionHandler |
getInteractionHandler()
Return the current interaction handler.
|
String |
getName()
Returns the name of the plot.
|
Object |
getRecord()
Returns the current Object.
|
UndoableEditSupport |
getUndoableEditSupport()
Returns the undo support object, or null if undo was not switched on.
|
int |
getWidth()
Returns width of plot.
|
int |
getX()
Returns X of plot.
|
int |
getY()
Returns Y of plot.
|
void |
removeChangeListener(ChangeListener listener)
Removbes a change listener
|
void |
repaint()
Repaint the plot
|
boolean |
requestFocusInWindow()
Requests focus in plot
|
void |
setCursor(Cursor c)
Sets the cursor of plot
|
void |
setInteractionHandler(InteractionHandler interactionHandler)
Sets the interaction handler on the plot.
|
void |
setRecord(Object record)
Sets the plot to use this Object.
|
void |
setSelected(boolean selected)
Called when this plot is selected/unselected.
|
boolean |
supports(InteractionHandler interactionHandler)
Returns true if this plot (and its projection) supports the given
interactionHandler.
|
void addChangeListener(ChangeListener listener)
void removeChangeListener(ChangeListener listener)
RecordPlot copy(String name, Object record, boolean supportUndo)
UndoableEditSupport getUndoableEditSupport()
String getName()
GraphicsPanel getGraphicsPanel()
void setSelected(boolean selected)
boolean supports(InteractionHandler interactionHandler)
void setInteractionHandler(InteractionHandler interactionHandler)
InteractionHandler getInteractionHandler()
void setRecord(Object record)
Object getRecord()
void drawShape(Shape shape)
int getX()
int getY()
int getWidth()
int getHeight()
void setCursor(Cursor c)
boolean requestFocusInWindow()
void repaint()
Copyright © 1996-2014 FreeHEP. All Rights Reserved.