public class P2DPlot extends P2DComponent implements P2DPlotInterface
| Modifier and Type | Field and Description |
|---|---|
protected static FwkDescriptionInterface |
descriptor |
static java.lang.String |
version |
control, model, mouseIsInside, registerCounter, viewcomponents, lastMouseEvent, listeners, localMousePoint, LOCK, parent, readingDOM, selectableinfoBusMemberSupportchangeManager, properties, suspendChangeManagersourceauthor, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, icon, ICON, iconCount, iconKey, internetAddress, name, titleNameCONTROL_KEY, MODEL_KEY, VIEW_KEYINFOBUS_SOURCEAUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAMEDASH_STROKE, DOT_DASH_STROKE, DOT_DOT_DASH_STROKE, DOT_STROKE, LINE_STROKE| Constructor and Description |
|---|
P2DPlot(java.lang.String plotName)
The constructor the name of the plot.
|
| Modifier and Type | Method and Description |
|---|---|
P2DChannelInterface[] |
addChannelComponent(java.lang.String yName)
Add a channel component.
|
P2DChannelInterface[] |
addChannelComponent(java.lang.String xName,
java.lang.String yName)
Add a channel component to the plot model.
|
void |
clearChannelComponents()
Clear all channel components.
|
P2DAxisInterface[] |
getAllYAxisComponents()
Retrieve all y-axis component.
|
P2DChannelInterface |
getChannelComponent()
Retrieve the channel component.
|
P2DChannelInterface |
getChannelComponent(java.lang.String yName)
Retrieve the channel component.
|
P2DChannelInterface[] |
getChannelComponents()
Retrieve all channel components.
|
static FwkDescriptionInterface |
getDescriptor() |
boolean |
getHorizontalTile()
Get the horizontal tile flag.
|
P2DLegendInterface |
getLegendComponent()
Retrieves the P2D legend component.
|
boolean |
getLegendEnabled()
Get the boolean whether the legend is enabled.
|
P2DMarkerInterface |
getMarkerComponent()
Get the marker component.
|
boolean |
getSingleScale()
Get a boolean that indicates a single y scaling.
|
java.lang.String |
getTitle()
Get the title of the canvas.
|
P2DTextInterface |
getTitleComponent()
Retrieves the P2D text component used as title.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
getVerticalTile()
Get the vertical tile flag.
|
P2DAxisInterface |
getXAxisComponent()
Retrieve the x-axis component.
|
java.lang.String |
getXChannelName()
Get the name of the x Channel.
|
P2DAxisInterface |
getYAxisComponent()
Retrieve the y-axis component.
|
P2DAxisInterface |
getYAxisComponent(java.lang.String yName)
Retrieve the y-axis component.
|
boolean |
hasChannels()
Return a boolean whether the plot contains channels.
|
void |
nextXRangeStep()
Set the range to the next x range step.
|
void |
nextXRangeWindow()
Set the range to the next x range window.
|
void |
prevXRangeStep()
Set the range to the prev x range step.
|
void |
prevXRangeWindow()
Set the range to the prev x range window.
|
P2DChannelInterface[] |
setChannelComponent(java.lang.String xName)
Set the channel component.
|
P2DChannelInterface[] |
setChannelComponent(java.lang.String xName,
java.lang.String yName)
Set the channel component.
|
void |
setFullXResolution(P2DContainerInterface container)
Set the range so that the full resolution is use for display plot in x direction.
|
void |
setHorizontalTile(boolean flag)
Set the horizontal tile flag.
|
P2DLegendInterface |
setLegendComponent(P2DLegendInterface legend)
Set the legend of the plot.
|
void |
setLegendEnabled(boolean flag)
Enable the legend.
|
void |
setSingleScale(boolean flag)
Set a boolean for signle scaling.
|
P2DTextInterface |
setTitleComponent(FwkArrayInterface arr)
Set the title of the plot.
|
P2DTextInterface |
setTitleComponent(P2DTextInterface text)
Set the title of the plot.
|
P2DTextInterface |
setTitleComponent(java.lang.String titleString)
Set the title of the plot.
|
void |
setVerticalTile(boolean flag)
Set the vertical tile flag.
|
void |
setXAutoRange()
Set x auto ragne mode.
|
void |
setXChannelName(java.lang.String xName)
Set the name of the x Channel.
|
void |
setYAutoRange()
Set x auto ragne mode.
|
void |
toBeginOfXRange()
Set the upper range value to the begin of autorange value.
|
void |
toEndOfXRange()
Set the lower range value to the end of autorange value.
|
void |
zoomXIn()
Zoom into the x axis.
|
void |
zoomXOut()
Zoom out the x axis.
|
addCommand, addCommand, addDialogPane, addToGroup, addToGroup, askForName, boundsAcceptable, calculateBoundingBoxRelativeTo, closestIntersection, commandsAvailable, configure, contains, contains, containsAllChildren, containsAllChildren, deleteGroup, focusGained, focusLost, frameHasHandles, getActive, getActiveHandle, getAllArmedComponents, getAllArmedComponents, getAppearance, getArea, getBackground, getBackgroundColor, getBackgroundTransparency, getBackgroundVisible, getBoundingBox, getChild, getChild, getClip, getColor, getCommand, getCommands, getContainerMap, getControl, getControlClassId, getDashArray, getDashPhase, getDecorated, getDialogPane, getDialogPanes, getDialogPaneValue, getDialogPaneValues, getEndCap, getFill, getFont, getFrame, getFrameColor, getFrameHandlesVisible, getFrameLinesVisible, getFrameTransparency, getFrameVisible, getGroup, getHeight, getInternalMouseListenerActive, getInverseTransform, getLineJoin, getLineWidth, getLower, getLower, getMiterLimit, getModel, getModelClassId, getRatioFix, getRectangle, getRegisterCounter, getScaledHeight, getScaledLower, getScaledLower, getScaledUpper, getScaledUpper, getScaledWidth, getSelectable, getShortName, getSource, getStroke, getTransform, getTransform, getTranslation, getTransparency, getUpper, getUpper, getView, getViewClassId, getVisible, getWidth, getXFactor, getXOffset, getYFactor, getYOffset, groupExists, hasActiveChild, initialize, intersects, intersects, intersects, intersects, inverseTransformPoint, isInside, isInside, isInside, isInternalMouseListenerActive, isMVCValid, isVisible, loadControl, loadModel, loadView, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, move, openPopupMenu, paint, paint, processFocusEvent, processMouseEvent, propertyChange, register, register, registerContainer, release, removeCommand, removeDialogPane, removeFromGroup, resetActiveHandle, restoreLocalMousePoint, revalidate, saveLocalMousePoint, scaleStroke, scaleStroke, setActive, setActiveHandle, setAppearance, setBackgroundColor, setBackgroundTransparency, setBackgroundVisible, setBoundingBox, setClip, setClip, setColor, setCommands, setContainerMap, setControl, setControlClassId, setDashArray, setDashPhase, setDecorated, setDialogPaneValues, setEndCap, setFill, setFont, setFrameColor, setFrameHandlesVisible, setFrameLinesVisible, setFrameTransparency, setFrameVisible, setHeight, setInternalMouseListenerActive, setLineJoin, setLineWidth, setLower, setMemberName, setMiterLimit, setModel, setModelClassId, setName, setOffset, setRatioFix, setScale, setStroke, setTransform, setTransform, setTranslation, setTransparency, setUpper, setView, setViewClassId, setVisible, setWidth, setXScale, setYScale, suspendPropertyChangeEvents, transformPoint, transformPoint, unregister, unregister, unregisterContainer, update, updateControl, updateModel, updateViewaddContainerListener, addFocusListener, addListener, addMouseListener, addMouseMotionListener, addOrderListener, addP2D, addP2D, addP2D, addP2D, addP2DImpl, addRepaintListener, finalize, fireContainerAddedEvent, fireContainerRemovedEvent, fireOrderEvent, getActiveComponent, getArmedComponent, getArmedComponent, getComponentCommands, getContainerListenerArray, getFocusListenerArray, getListenerArray, getMouseListenerArray, getMouseMotionListenerArray, getOrderListenerArray, getP2D, getP2D, getP2D, getP2DComponentArray, getP2DComponents, getParentContainer, getRepaintListenerArray, getTreeLock, readConstructor, readFromDOM, readingDOM, readingDOM, removeAllP2D, removeContainerListener, removeFocusListener, removeListener, removeMouseListener, removeMouseMotionListener, removeOrderListener, removeP2D, removeP2D, removeRepaintListener, repaint, restoreLastMouseEvent, saveLastMouseEvent, setActiveComponent, setParentContainer, setSelectable, toBack, toBack, toBack, toFront, toFront, toFront, writeConstructor, writeToDOM, writeToXMLaddInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, getInfoBusName, getMemberName, isConnected, joinInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus, setInfoBusNameaddDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getProperty, getPropertyGroup, isChangeManagerSuspended, removeDataItemChangeListener, setProperty, setPropertyGroup, suspendChangeManageraddVetoableChangeListener, addVetoableChangeListener, clearCommands, compareTo, destroyController, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getCommands, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getFwkMimeTypes, getIcon, getIcon, getIconKey, getIconKey, getPersistentObjectNames, getSupportEMail, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSource, setSupportEMail, setTitleNameaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListenergetClassName, getPresentationString, getPresentationString, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setClassName, setCreationDate, toStringgetNiceVersionclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitaskForName, calculateBoundingBoxRelativeTo, getControl, getControlClassId, getDialogPane, getDialogPanes, getDialogPaneValue, getDialogPaneValues, getInternalMouseListenerActive, getModel, getModelClassId, getRegisterCounter, getView, getViewClassId, initialize, isInternalMouseListenerActive, isMVCValid, loadControl, loadModel, loadView, paint, paint, processFocusEvent, processMouseEvent, register, setControl, setControlClassId, setDialogPaneValues, setInternalMouseListenerActive, setModel, setModelClassId, setView, setViewClassId, unregister, unregister, update, updateControl, updateModel, updateViewaddContainerListener, addFocusListener, addListener, addMouseListener, addMouseMotionListener, addOrderListener, addP2D, addP2D, addP2D, addP2D, addRepaintListener, fireOrderEvent, getActive, getActiveComponent, getAllArmedComponents, getAllArmedComponents, getArmedComponent, getComponentCommands, getContainerListenerArray, getFocusListenerArray, getListenerArray, getMouseListenerArray, getMouseMotionListenerArray, getOrderListenerArray, getP2D, getP2D, getP2D, getP2DComponentArray, getP2DComponents, getParentContainer, getRepaintListenerArray, getSelectable, getShortName, getTreeLock, openPopupMenu, removeAllP2D, removeContainerListener, removeFocusListener, removeListener, removeMouseListener, removeMouseMotionListener, removeOrderListener, removeP2D, removeP2D, removeRepaintListener, repaint, restoreLastMouseEvent, restoreLocalMousePoint, revalidate, saveLastMouseEvent, saveLocalMousePoint, setActive, setActiveComponent, setParentContainer, setSelectable, toBack, toBack, toBack, toFront, toFront, toFrontgetInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberNamefireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManagergetCommands, getPersistentObjectNamesdestroyControlleraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsaddVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListenergetAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleNamegetTransferData, getTransferDataFlavors, isDataFlavorSupportedaddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringreleaseaddInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBusgetCompany, readConstructor, readFromDOM, readingDOM, readingDOM, writeConstructor, writeToDOM, writeToXMLconfigure, getBackgroundColor, getClip, getColor, getDashArray, getDashPhase, getEndCap, getFill, getFont, getLineJoin, getLineWidth, getMiterLimit, getStroke, getTransform, getTranslation, getTransparency, getVisible, isVisible, scaleStroke, scaleStroke, setBackgroundColor, setClip, setClip, setColor, setDashArray, setDashPhase, setEndCap, setFill, setFont, setLineJoin, setLineWidth, setMiterLimit, setScale, setStroke, setTransform, setTranslation, setTransparency, setVisibleaddDialogPane, boundsAcceptable, containsAllChildren, containsAllChildren, frameHasHandles, getActive, getActiveHandle, getAppearance, getBackground, getBackgroundColor, getBackgroundTransparency, getBackgroundVisible, getBoundingBox, getChild, getChild, getContainerMap, getDecorated, getFrame, getFrameColor, getFrameHandlesVisible, getFrameLinesVisible, getFrameTransparency, getFrameVisible, getHeight, getRatioFix, getTransform, getWidth, hasActiveChild, isInside, isInside, registerContainer, removeDialogPane, resetActiveHandle, revalidate, scaleStroke, scaleStroke, setActive, setActiveHandle, setAppearance, setBackgroundColor, setBackgroundTransparency, setBackgroundVisible, setBoundingBox, setContainerMap, setDecorated, setFrameColor, setFrameHandlesVisible, setFrameLinesVisible, setFrameTransparency, setFrameVisible, setRatioFix, setTransform, transformPoint, transformPoint, unregisterContainerfocusGained, focusLost, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleasedpublic static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
public P2DPlot(java.lang.String plotName)
plotName - The name of the plot.P2DPlotModelInterfacepublic java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class P2DComponentpublic static FwkDescriptionInterface getDescriptor()
public java.lang.String getTitle()
getTitle in interface FwkDescriptionInterfacegetTitle in class FwkPersistencepublic P2DTextInterface setTitleComponent(java.lang.String titleString)
setTitleComponent in interface P2DPlotInterfacetitleString - The title string.public P2DTextInterface setTitleComponent(FwkArrayInterface arr)
setTitleComponent in interface P2DPlotInterfacearr - an array containing the title stings.public P2DTextInterface setTitleComponent(P2DTextInterface text)
setTitleComponent in interface P2DPlotInterfacetext - The P2D text component used as title.public P2DTextInterface getTitleComponent()
getTitleComponent in interface P2DPlotInterfacepublic P2DLegendInterface setLegendComponent(P2DLegendInterface legend)
setLegendComponent in interface P2DPlotInterfacelegend - The P2D legend component.public P2DLegendInterface getLegendComponent()
getLegendComponent in interface P2DPlotInterfacepublic void clearChannelComponents()
clearChannelComponents in interface P2DPlotInterfacepublic P2DChannelInterface[] addChannelComponent(java.lang.String xName, java.lang.String yName)
addChannelComponent in interface P2DPlotInterfacexName - The name of the channel to be added.yName - The name of the channel to be added.public P2DChannelInterface[] addChannelComponent(java.lang.String yName)
addChannelComponent in interface P2DPlotInterfaceyName - The name of the channel to be displayed as y-channel versus index.public P2DChannelInterface[] setChannelComponent(java.lang.String xName)
setChannelComponent in interface P2DPlotInterfacexname - The name of the channel to be displayed as y-channel versus index.public P2DChannelInterface[] setChannelComponent(java.lang.String xName, java.lang.String yName)
setChannelComponent in interface P2DPlotInterfacexName - The name of the channel to be displayed as x-channel.yName - The name of the channel to be displayed as y-channel.public boolean hasChannels()
hasChannels in interface P2DPlotInterfacepublic P2DChannelInterface getChannelComponent()
getChannelComponent in interface P2DPlotInterfacepublic P2DChannelInterface[] getChannelComponents()
getChannelComponents in interface P2DPlotInterfacepublic P2DChannelInterface getChannelComponent(java.lang.String yName)
getChannelComponent in interface P2DPlotInterfaceyName - the name of the channel for that the component should be returned.public P2DAxisInterface getXAxisComponent()
getXAxisComponent in interface P2DPlotInterfacepublic P2DAxisInterface getYAxisComponent()
getYAxisComponent in interface P2DPlotInterfacepublic P2DAxisInterface[] getAllYAxisComponents()
getAllYAxisComponents in interface P2DPlotInterfacepublic P2DAxisInterface getYAxisComponent(java.lang.String yName)
getYAxisComponent in interface P2DPlotInterfaceyName - the name of the channel for that the component should be returned.public P2DMarkerInterface getMarkerComponent()
getMarkerComponent in interface P2DPlotInterfacepublic void zoomXIn()
zoomXIn in interface P2DPlotInterfacepublic void zoomXOut()
zoomXOut in interface P2DPlotInterfacepublic void setXAutoRange()
setXAutoRange in interface P2DPlotInterfacepublic void setYAutoRange()
setYAutoRange in interface P2DPlotInterfacepublic void toEndOfXRange()
toEndOfXRange in interface P2DPlotInterfacepublic void toBeginOfXRange()
toBeginOfXRange in interface P2DPlotInterfacepublic void nextXRangeWindow()
nextXRangeWindow in interface P2DPlotInterfacepublic void prevXRangeWindow()
prevXRangeWindow in interface P2DPlotInterfacepublic void nextXRangeStep()
nextXRangeStep in interface P2DPlotInterfacepublic void prevXRangeStep()
prevXRangeStep in interface P2DPlotInterfacepublic void setFullXResolution(P2DContainerInterface container)
setFullXResolution in interface P2DPlotInterfacepublic void setXChannelName(java.lang.String xName)
setXChannelName in interface P2DPlotInterfacexName - the name of the x channel.public java.lang.String getXChannelName()
getXChannelName in interface P2DPlotInterfacepublic boolean getHorizontalTile()
getHorizontalTile in interface P2DPlotInterfacepublic void setHorizontalTile(boolean flag)
setHorizontalTile in interface P2DPlotInterfaceflag - if public boolean getSingleScale()
getSingleScale in interface P2DPlotInterfacepublic void setSingleScale(boolean flag)
setSingleScale in interface P2DPlotInterfaceflag - if public boolean getVerticalTile()
getVerticalTile in interface P2DPlotInterfacepublic void setVerticalTile(boolean flag)
setVerticalTile in interface P2DPlotInterfaceflag - if public void setLegendEnabled(boolean flag)
setLegendEnabled in interface P2DPlotInterfaceflag - if true the legend is enabled.public boolean getLegendEnabled()
getLegendEnabled in interface P2DPlotInterface