public class P2DMarkerModel extends P2DComponentModel implements P2DMarkerModelInterface
Modifier and Type | Field and Description |
---|---|
protected P2DAxisTypeInterface |
bind |
protected P2DBoundingBoxInterface |
displayBox |
protected P2DMarkerGroupInterface |
markerGroup |
protected java.lang.String |
markerGroupName |
static java.lang.String |
version |
protected P2DAxisInterface |
xAxis |
protected java.lang.String |
xAxisName |
protected P2DAxisInterface |
yAxis |
protected java.lang.String |
yAxisName |
appearance, background, BACKGROUND_COLOR_IDENT, BACKGROUND_COLOR_TEXT_KEY, BACKGROUND_COLOR_TOOLTIP_KEY, BACKGROUND_VISIBLE_TEXT_KEY, boundingBox, COLOR_IDENT, COLOR_TEXT_KEY, COLOR_TOOLTIP_KEY, containerMap, decorated, FONT_IDENT, FONT_TEXT_KEY, FONT_TOOLTIP_KEY, frame, FRAME_COLOR_IDENT, FRAME_COLOR_TEXT_KEY, FRAME_COLOR_TOOLTIP_KEY, internalMouseListenerActive, PROPERTIES_TEXT_KEY, ratioFix, staticPanes, VISIBLE_TEXT_KEY
infoBusMemberSupport
changeManager, properties, suspendChangeManager
source
author, 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, titleName
DEFAULT_MARKER_GROUP_NAME
INFOBUS_SOURCE
AUTHOR, 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_NAME
Constructor and Description |
---|
P2DMarkerModel() |
Modifier and Type | Method and Description |
---|---|
P2DAxisTypeInterface |
getBind(P2DMarkerInterface component)
Get the binding rule.
|
P2DBoundingBoxInterface |
getDisplayBoundingBox(P2DMarkerInterface component)
Get the display bounding box.
|
P2DMarkerGroupInterface |
getMarkerGroup(P2DMarkerInterface component)
Get Marker group.
|
FwkCommandInterface[] |
getMarkerGroupCommands(P2DMarkerInterface component,
P2DMarkerGroupInterface group)
Gets the command blongs to a marker group.
|
java.lang.String |
getMarkerGroupName(P2DMarkerInterface component)
Get the marker group name.
|
P2DAxisInterface |
getXAxis(P2DMarkerInterface component)
Get the x axis.
|
java.lang.String |
getXAxisName(P2DMarkerInterface component)
Get the x axis name.
|
P2DAxisInterface |
getYAxis(P2DMarkerInterface component)
Get the y axis.
|
java.lang.String |
getYAxisName(P2DMarkerInterface component)
Get the y axis name.
|
boolean |
hasDisplayBoundingBox(P2DMarkerInterface component)
Returns a boolean whether the marker has a display bounding box.
|
void |
initialize()
Initialize the model.
|
void |
setBind(P2DMarkerInterface component,
P2DAxisTypeInterface type)
Set the binding rule.
|
void |
setDisplayBoundingBox(P2DMarkerInterface component,
P2DBoundingBoxInterface bb)
Set the display bounding box.
|
void |
setMarkerGroupName(P2DMarkerInterface component,
java.lang.String name)
The marker group name name.
|
void |
setXAxisName(P2DMarkerInterface component,
java.lang.String name)
The x axis name.
|
void |
setYAxisName(P2DMarkerInterface component,
java.lang.String name)
The y axis name.
|
void |
uninstall(P2DComponentInterface component)
Uninstall the marker.
|
addDialogPane, boundsAcceptable, calculateBoundingBoxRelativeTo, closestIntersection, configure, contains, contains, containsAllChildren, containsAllChildren, createDialogPanes, frameHasHandles, getActive, getActiveHandle, getAllArmedComponents, getAllArmedComponents, getAppearance, getArea, getBackground, getBackgroundColor, getBackgroundTransparency, getBackgroundVisible, getBoundingBox, getChild, getChild, getClip, getColor, getCommands, getContainerMap, getDashArray, getDashPhase, getDecorated, getDialogPane, getDialogPanes, getDialogPaneValue, getDialogPaneValues, getEndCap, getFill, getFont, getFrame, getFrameColor, getFrameHandlesVisible, getFrameLinesVisible, getFrameTransparency, getFrameVisible, getHeight, getInverseTransform, getLineJoin, getLineWidth, getLower, getLower, getMiterLimit, getRatioFix, getRectangle, getScaledHeight, getScaledLower, getScaledLower, getScaledUpper, getScaledUpper, getScaledWidth, getShortName, getStroke, getTransform, getTransform, getTranslation, getTransparency, getUpper, getUpper, getVersion, getVisible, getWidth, getXFactor, getXOffset, getYFactor, getYOffset, hasActiveChild, install, intersects, intersects, intersects, intersects, inverseTransformPoint, isInside, isInside, isInside, isInternalMouseListenerActive, isVisible, move, registerContainer, release, release, removeDialogPane, resetActiveHandle, revalidate, scaleStroke, scaleStroke, setActive, setActiveHandle, setAppearance, setBackgroundColor, setBackgroundTransparency, setBackgroundVisible, setBoundingBox, setClip, setClip, setColor, setContainerMap, setDashArray, setDashPhase, setDecorated, setDialogPaneValues, setEndCap, setFill, setFont, setFrameColor, setFrameHandlesVisible, setFrameLinesVisible, setFrameTransparency, setFrameVisible, setHeight, setInternalMouseListenerActive, setLineJoin, setLineWidth, setLower, setMiterLimit, setOffset, setRatioFix, setScale, setStroke, setTransform, setTransform, setTranslation, setTransparency, setUpper, setVisible, setWidth, setXScale, setYScale, transformPoint, transformPoint, unregisterContainer
addInfoBusPropertyListener, addInfoBusVetoableListener, finalize, getInfoBus, getInfoBusName, getMemberName, isConnected, joinInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus, setInfoBusName, setMemberName, setName
addDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getProperty, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setProperty, setPropertyGroup, suspendChangeManager
addCommand, addCommand, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getCommand, getCommands, getCommands, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getFwkMimeTypes, getGroup, getIcon, getIcon, getIconKey, getIconKey, getPersistentObjectNames, getSupportEMail, getTitle, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, removeCommand, removeFromGroup, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, setCommands, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSource, setSupportEMail, setTitleName
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEvents
getClassName, getPresentationString, getPresentationString, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setClassName, setCreationDate, toString
getNiceVersion
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDialogPane, boundsAcceptable, calculateBoundingBoxRelativeTo, configure, containsAllChildren, containsAllChildren, frameHasHandles, getActive, getActiveHandle, getAllArmedComponents, getAllArmedComponents, getAppearance, getBackground, getBackgroundColor, getBackgroundTransparency, getBackgroundVisible, getBoundingBox, getChild, getChild, getCommands, getContainerMap, getDecorated, getDialogPane, getDialogPanes, getDialogPaneValue, getDialogPaneValues, getFrame, getFrameColor, getFrameHandlesVisible, getFrameLinesVisible, getFrameTransparency, getFrameVisible, getHeight, getRatioFix, getShortName, getTransform, getWidth, hasActiveChild, install, isInside, isInside, isInternalMouseListenerActive, registerContainer, removeDialogPane, resetActiveHandle, revalidate, scaleStroke, scaleStroke, setActive, setActiveHandle, setAppearance, setBackgroundColor, setBackgroundTransparency, setBackgroundVisible, setBoundingBox, setContainerMap, setDecorated, setDialogPaneValues, setFrameColor, setFrameHandlesVisible, setFrameLinesVisible, setFrameTransparency, setFrameVisible, setInternalMouseListenerActive, setRatioFix, setTransform, transformPoint, transformPoint, unregisterContainer
getInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberName
fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManager
getCommands, getPersistentObjectNames
destroyController
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleName
getTransferData, getTransferDataFlavors, isDataFlavorSupported
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
getVersion, release
public static final java.lang.String version
protected java.lang.String markerGroupName
protected P2DMarkerGroupInterface markerGroup
protected java.lang.String xAxisName
protected P2DAxisInterface xAxis
protected java.lang.String yAxisName
protected P2DAxisInterface yAxis
protected P2DAxisTypeInterface bind
protected P2DBoundingBoxInterface displayBox
public void initialize()
initialize
in interface P2DModelInterface
initialize
in class P2DComponentModel
public void uninstall(P2DComponentInterface component)
uninstall
in interface P2DModelInterface
uninstall
in class P2DComponentModel
component
- The component that belongs to that model.public void setXAxisName(P2DMarkerInterface component, java.lang.String name)
setXAxisName
in interface P2DMarkerModelInterface
name
- the name of the axis.component
- The component to the the model belongs.public java.lang.String getXAxisName(P2DMarkerInterface component)
getXAxisName
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.public P2DAxisInterface getXAxis(P2DMarkerInterface component)
getXAxis
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.public void setYAxisName(P2DMarkerInterface component, java.lang.String name)
setYAxisName
in interface P2DMarkerModelInterface
name
- the name of the axis.component
- The component to the the model belongs.public java.lang.String getYAxisName(P2DMarkerInterface component)
getYAxisName
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.public P2DAxisInterface getYAxis(P2DMarkerInterface component)
getYAxis
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.public void setBind(P2DMarkerInterface component, P2DAxisTypeInterface type)
setBind
in interface P2DMarkerModelInterface
type
- The type of the axis to that the marker is bind.component
- The component to the the model belongs.public P2DAxisTypeInterface getBind(P2DMarkerInterface component)
getBind
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.public P2DMarkerGroupInterface getMarkerGroup(P2DMarkerInterface component)
getMarkerGroup
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.public void setMarkerGroupName(P2DMarkerInterface component, java.lang.String name)
setMarkerGroupName
in interface P2DMarkerModelInterface
name
- the name of the marker group.component
- The component to the the model belongs.public java.lang.String getMarkerGroupName(P2DMarkerInterface component)
getMarkerGroupName
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.public FwkCommandInterface[] getMarkerGroupCommands(P2DMarkerInterface component, P2DMarkerGroupInterface group)
getMarkerGroupCommands
in interface P2DMarkerModelInterface
group
- A Marker group.component
- The component to the the model belongs.public void setDisplayBoundingBox(P2DMarkerInterface component, P2DBoundingBoxInterface bb)
setDisplayBoundingBox
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.bb
- The display bounding box.public P2DBoundingBoxInterface getDisplayBoundingBox(P2DMarkerInterface component)
getDisplayBoundingBox
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.setDisplayBoundingBox(P2DBoundingBoxInterface)
public boolean hasDisplayBoundingBox(P2DMarkerInterface component)
hasDisplayBoundingBox
in interface P2DMarkerModelInterface
component
- The component to the the model belongs.