public interface P2DAxisModelInterface extends P2DModelInterface
INFOBUS_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_NAME| Modifier and Type | Method and Description |
|---|---|
void |
addChannel(P2DComponentInterface component,
P2DChannelInterface channel)
Add the channel to the observer list of the axis.
|
FwkArrayInterface |
getAttributedTickvalues(P2DComponentInterface component)
Get the nicenumber vector of the axis attributed tick value strings.
|
FwkArrayInterface |
getAttributedTitle(P2DComponentInterface component)
Get the attributed title string of the axis.
|
boolean |
getAutoRange(P2DComponentInterface component)
Get the auto-range flag of the axis.
|
double |
getBase(P2DComponentInterface component)
Get the base of the nice number calculation.
|
P2DRange1DInterface |
getChannelRange(P2DComponentInterface component)
Get the range of the axis.
|
java.util.Iterator |
getChannels(P2DComponentInterface component)
Returns an iterator to registered channels.
|
boolean |
getGrid(P2DComponentInterface component)
Get the grid state.
|
FwkAppearanceInterface |
getGridAppearance(P2DComponentInterface component)
Get the grid appearance.
|
java.awt.Color |
getGridColor(P2DComponentInterface component)
Get the grid color.
|
float |
getGridTransparency(P2DComponentInterface component)
Get the grid color transparency.
|
boolean |
getLog(P2DComponentInterface component)
Return a boolean whether the axis is a logarithmn type.
|
double |
getLowerLimit(P2DComponentInterface component)
Returns the lower value of the range.
|
boolean |
getMinorTicks(P2DComponentInterface component)
Get the minor ticks state.
|
double |
getMinPositiveValue(P2DComponentInterface component)
Returns the minimal positive value.
|
P2DRange1DInterface |
getNiceNumberCalculator(P2DComponentInterface component)
Returns the nicenumber creator.
|
P2DRange1DInterface |
getNiceNumberRange(P2DComponentInterface component)
Get the range of the nice numbers.
|
double |
getPosition(P2DComponentInterface component)
Get the position of the axis.
|
P2DRange1DInterface |
getRange(P2DComponentInterface component)
Returns the effective range of the axis.
|
int |
getTickCount(P2DComponentInterface component)
Get the total number of ticks.
|
double |
getTicklen(P2DComponentInterface component)
Get the length of the ticks.
|
P2DAttributorInterface |
getTickvalueAttributor(P2DComponentInterface component)
Get the attributer for the tickvalues.
|
FwkArrayInterface |
getTickvalues(P2DComponentInterface component)
Get the nicenumber vector of the axis ticks containing attributed strings.
|
java.lang.String |
getTitle(P2DComponentInterface component)
Get the title string of the axis.
|
double |
getTitleAlignment(P2DComponentInterface component)
Retrieve the title alignment of the axis.
|
P2DAttributorInterface |
getTitleAttributor(P2DComponentInterface component)
Get the title attributer.
|
P2DAxisTypeInterface |
getType(P2DComponentInterface component)
Get the type of the axis.
|
double |
getUpperLimit(P2DComponentInterface component)
Returns the upper value of the range.
|
boolean |
isValid(P2DComponentInterface component)
Check if the tickvalues arte valid?
|
void |
nextRangeStep(P2DComponentInterface component)
Set the range to the next range step.
|
void |
nextRangeWindow(P2DComponentInterface component)
Set the range to the next range window.
|
void |
prevRangeStep(P2DComponentInterface component)
Set the range to the prev range step.
|
void |
prevRangeWindow(P2DComponentInterface component)
Set the range to the prev range window.
|
void |
removeChannel(P2DComponentInterface component,
P2DChannelInterface channel)
Remove a channel from the observer list of the axis.
|
void |
setAutoRange(P2DComponentInterface component,
boolean flag)
Sets the auto-range flag of the axis.
|
void |
setBase(P2DComponentInterface component,
double base)
Set the base of the nice number calculation.
|
void |
setFullResolution(P2DComponentInterface component,
P2DContainerInterface container)
Set the range so that the full resolution is use for display.
|
void |
setGrid(P2DComponentInterface component,
boolean flag)
Turn on/off the grid.
|
void |
setGridAppearance(P2DComponentInterface component,
FwkAppearanceInterface appearance)
Set the grid appearance.
|
void |
setGridColor(P2DComponentInterface component,
java.awt.Color color)
Set the grid color.
|
void |
setGridTransparency(P2DComponentInterface component,
float transparency)
Set the grid color transparency.
|
void |
setLog(P2DComponentInterface component,
boolean flag)
Set the logarithmn type of the axis.
|
void |
setLowerLimit(P2DComponentInterface component,
double lower)
Set the lower value of the range.
|
void |
setMinorTicks(P2DComponentInterface component,
boolean flag)
Turn on/off the minor ticks.
|
void |
setNiceNumberCalculator(P2DComponentInterface component,
P2DRange1DInterface calculator)
Set the nicenumber creator.
|
void |
setPosition(P2DComponentInterface component,
double newPosition)
Set the position of the axis.
|
void |
setRange(P2DComponentInterface component,
P2DRange1DInterface range)
Set the Axis Range.
|
void |
setTickCount(P2DComponentInterface component,
int ticks)
Set the total number of ticks.
|
void |
setTicklen(P2DComponentInterface component,
double ticklen)
Set the length of the ticks.
|
void |
setTickvalueAttributor(P2DComponentInterface component,
P2DAttributorInterface attributor)
Set the attributer for the tickvalues.
|
void |
setTitle(P2DComponentInterface component,
java.lang.String title)
Set the title string of the axis.
|
void |
setTitleAlignment(P2DComponentInterface component,
double alignment)
Set the title alignment of the axis.
|
void |
setTitleAttributor(P2DComponentInterface component,
P2DAttributorInterface attributor)
Set the title attributer.
|
void |
setType(P2DComponentInterface component,
P2DAxisTypeInterface type)
Set the type of the axis.
|
void |
setUpperLimit(P2DComponentInterface component,
double upper)
Set the upper value of the range.
|
void |
toBeginOfRange(P2DComponentInterface component)
Set the upper range value to the begin of autorange value.
|
void |
toEndOfRange(P2DComponentInterface component)
Set the lower range value to the end of autorange value.
|
void |
zoomIn(P2DComponentInterface component)
Zoom into.
|
void |
zoomOut(P2DComponentInterface component)
Zoom out.
|
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, initialize, 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, uninstall, unregisterContainergetInfoBusName, 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, getTitle, 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, getPresentationStringgetVersion, releaseboolean isValid(P2DComponentInterface component)
component - The component to that the model belongs.P2DRange1DInterface getNiceNumberRange(P2DComponentInterface component)
component - The component to that the model belongs.P2DRange1DInterface getChannelRange(P2DComponentInterface component)
component - The component to that the model belongs.FwkArrayInterface getTickvalues(P2DComponentInterface component)
component - The component to that the model belongs.FwkArrayInterface getAttributedTickvalues(P2DComponentInterface component)
component - The component to that the model belongs.void setTickvalueAttributor(P2DComponentInterface component, P2DAttributorInterface attributor)
component - The component to that the model belongs.attributor - The tick value attributor.P2DAttributorInterface getTickvalueAttributor(P2DComponentInterface component)
component - The component to that the model belongs.The - tick value attributor.double getTicklen(P2DComponentInterface component)
component - The component to that the model belongs.void setTicklen(P2DComponentInterface component, double ticklen)
component - The component to that the model belongs.ticklen - The new axis ticklen.P2DAxisTypeInterface getType(P2DComponentInterface component)
component - The component to that the model belongs.void setType(P2DComponentInterface component, P2DAxisTypeInterface type)
component - The component to that the model belongs.type - The new axis type.java.lang.String getTitle(P2DComponentInterface component)
component - The component to that the model belongs.void setTitle(P2DComponentInterface component, java.lang.String title)
component - The component to that the model belongs.title - The new axis title string.void setTitleAlignment(P2DComponentInterface component, double alignment)
component - The component to that the model belongs.alignment - the alignment (default is 0.5 / center)double getTitleAlignment(P2DComponentInterface component)
component - The component to that the model belongs.FwkArrayInterface getAttributedTitle(P2DComponentInterface component)
component - The component to that the model belongs.void setTitleAttributor(P2DComponentInterface component, P2DAttributorInterface attributor)
component - The component to that the model belongs.attributor - The title attributerP2DAttributorInterface getTitleAttributor(P2DComponentInterface component)
component - The component to that the model belongs.void addChannel(P2DComponentInterface component, P2DChannelInterface channel)
component - The component to that the model belongs.channel - The channel to be observed.void removeChannel(P2DComponentInterface component, P2DChannelInterface channel)
component - The component to that the model belongs.channel - The channel to be observed.java.util.Iterator getChannels(P2DComponentInterface component)
component - The component to that the model belongs.double getPosition(P2DComponentInterface component)
component - The component to that the model belongs.void setPosition(P2DComponentInterface component, double newPosition)
component - The component to that the model belongs.newPosition - The new axis position.boolean getLog(P2DComponentInterface component)
component - The component to that the model belongs.void setLog(P2DComponentInterface component, boolean flag)
component - The component to that the model belongs.flag - true if axis is logarithmn.void setBase(P2DComponentInterface component, double base)
base - The new basedouble getBase(P2DComponentInterface component)
component - The component to that the model belongs.void setGrid(P2DComponentInterface component, boolean flag)
component - The component to that the model belongs.flag - if true the grid is turned on.boolean getGrid(P2DComponentInterface component)
component - The component to that the model belongs.void setGridAppearance(P2DComponentInterface component, FwkAppearanceInterface appearance)
component - The component to that the model belongs.appearance - The grid appearance.FwkAppearanceInterface getGridAppearance(P2DComponentInterface component)
component - The component to that the model belongs.void setGridColor(P2DComponentInterface component, java.awt.Color color)
component - The component to that the model belongs.color - the color for the grid.java.awt.Color getGridColor(P2DComponentInterface component)
component - The component to that the model belongs.void setGridTransparency(P2DComponentInterface component, float transparency)
component - The component to that the model belongs.transparency - the color transparency for the grid.float getGridTransparency(P2DComponentInterface component)
component - The component to that the model belongs.P2DRange1DInterface getRange(P2DComponentInterface component)
component - The component to that the model belongs.void setRange(P2DComponentInterface component, P2DRange1DInterface range)
component - The component to that the model belongs.Range1D - The new axis range.double getLowerLimit(P2DComponentInterface component)
component - The component to that the model belongs.double getMinPositiveValue(P2DComponentInterface component)
double getUpperLimit(P2DComponentInterface component)
component - The component to that the model belongs.void setLowerLimit(P2DComponentInterface component, double lower)
component - The component to that the model belongs.lower - the lower value of the marker.void setUpperLimit(P2DComponentInterface component, double upper)
component - The component to that the model belongs.upper - the upper value of the marker.boolean getAutoRange(P2DComponentInterface component)
component - The component to that the model belongs.void setAutoRange(P2DComponentInterface component, boolean flag)
component - The component to that the model belongs.flag - The new auto-range flag of the axis.void zoomIn(P2DComponentInterface component)
component - The component to that the model belongs.void zoomOut(P2DComponentInterface component)
component - The component to that the model belongs.void toEndOfRange(P2DComponentInterface component)
component - The component to that the model belongs.void toBeginOfRange(P2DComponentInterface component)
component - The component to that the model belongs.void nextRangeWindow(P2DComponentInterface component)
component - The component to that the model belongs.void prevRangeWindow(P2DComponentInterface component)
component - The component to that the model belongs.void nextRangeStep(P2DComponentInterface component)
component - The component to that the model belongs.void prevRangeStep(P2DComponentInterface component)
component - The component to that the model belongs.void setFullResolution(P2DComponentInterface component, P2DContainerInterface container)
component - The component to that the model belongs.int getTickCount(P2DComponentInterface component)
component - The component to that the model belongs.void setTickCount(P2DComponentInterface component, int ticks)
component - The component to that the model belongs.count - The total number of ticks. Set it to 0 if you wants that the
axis determines the number itself.void setNiceNumberCalculator(P2DComponentInterface component, P2DRange1DInterface calculator)
component - The component to that the model belongs.calculator - The calculator.P2DRange1DInterface getNiceNumberCalculator(P2DComponentInterface component)
component - The component to that the model belongs.void setMinorTicks(P2DComponentInterface component, boolean flag)
component - The component to that the model belongs.flag - if true the minor ticks is turned on.boolean getMinorTicks(P2DComponentInterface component)
component - The component to that the model belongs.