public class P2DAxis extends P2DComponent implements java.io.Serializable, P2DAxisInterface
Modifier and Type | Field and Description |
---|---|
protected static FwkDescriptionInterface |
descriptor |
static java.lang.String |
version |
control, model, mouseIsInside, registerCounter, view
components, lastMouseEvent, listeners, localMousePoint, LOCK, parent, readingDOM, selectable
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
DASH_GRID, DOT_DASH_GRID, DOT_DOT_DASH_GRID, DOT_GRID
CONTROL_KEY, MODEL_KEY, VIEW_KEY
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
DASH_STROKE, DOT_DASH_STROKE, DOT_DOT_DASH_STROKE, DOT_STROKE, LINE_STROKE
Constructor and Description |
---|
P2DAxis()
Default constructor.
|
P2DAxis(java.lang.String name)
The constructor receiving the axis type.
|
Modifier and Type | Method and Description |
---|---|
void |
addChannel(P2DChannelInterface channel)
Add the channel to the observer list of the axis.
|
void |
drawGrid(java.awt.Graphics2D g,
P2DRange1DInterface range)
Draw the grid of the axis.
|
FwkArrayInterface |
getAttributedTickvalues()
Get the nicenumber vector of strings from axis.
|
FwkArrayInterface |
getAttributedTitle()
Get the attributed title string of the axis.
|
boolean |
getAutoRange()
Get the auto-range flag of the axis.
|
double |
getBase()
Get the base of the nice number calculation.
|
P2DRange1DInterface |
getChannelRange()
Get the channel range of the axis.
|
java.util.Iterator |
getChannels()
Get the list of channels.
|
static FwkDescriptionInterface |
getDescriptor() |
boolean |
getGrid()
Get the grid state.
|
FwkAppearanceInterface |
getGridAppearance()
Get the grid appearance.
|
java.awt.Color |
getGridColor()
Get the grid color.
|
float |
getGridTransparency()
Get the grid color transparency.
|
java.lang.String |
getIconKey()
Get the icon key of the axis.
|
boolean |
getLog()
Return a boolean whether the axis is a logarithmn type.
|
double |
getLowerLimit()
Returns the lower value of the range.
|
boolean |
getMinorTicks()
Get the minor ticks state.
|
P2DRange1DInterface |
getNiceNumberCalculator()
Returns the nicenumber creator.
|
P2DRange1DInterface |
getNiceNumberRange()
Get the range of the nice numbers.
|
double |
getPosition()
Get the position of the axis.
|
P2DRange1DInterface |
getRange()
Returns the effective range of the axis.
|
int |
getTickCount()
Get the total number of ticks.
|
double |
getTicklen()
Get the length of the ticks.
|
P2DAttributorInterface |
getTickvalueAttributor()
Get the attributer for the tickvalues.
|
FwkArrayInterface |
getTickvalues()
Get the nicenumber array.
|
java.lang.String |
getTitle()
Get the title string of the axis.
|
double |
getTitleAlignment()
Retrieve the title alignment of the axis.
|
P2DAttributorInterface |
getTitleAttributor()
Get the title attributer.
|
P2DAxisTypeInterface |
getType()
Get the type of the axis.
|
double |
getUpperLimit()
Returns the upper value of the range.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
protected void |
init(java.lang.String name)
A method to initialize the object.
|
boolean |
isValid()
Returns a flag that indicates whether the view is currently valid.
|
void |
nextRangeStep()
Set the range to the next range step.
|
void |
nextRangeWindow()
Set the range to the next range window.
|
void |
prevRangeStep()
Set the range to the prev range step.
|
void |
prevRangeWindow()
Set the range to the prev range window.
|
void |
removeChannel(P2DChannelInterface channel)
Remove a channel from the observer list of the axis.
|
void |
setAutoRange(boolean flag)
Sets the auto-range flag of the axis.
|
void |
setBase(double base)
Set the base of the nice number calculation.
|
void |
setFullResolution(P2DContainerInterface container)
Set the range so that the full resolution is use for display.
|
void |
setGrid(boolean flag)
Turn on/off the grid.
|
void |
setGridAppearance(FwkAppearanceInterface appearance)
Set the grid appearance.
|
void |
setGridColor(java.awt.Color color)
Set the grid color.
|
void |
setGridTransparency(float transparency)
Set the grid color transparency.
|
void |
setLog(boolean flag)
Set the logarithmn type of the axis.
|
void |
setLowerLimit(double lower)
Set the lower value of the range.
|
void |
setMinorTicks(boolean flag)
Turn on/off the minor ticks.
|
void |
setNiceNumberCalculator(P2DRange1DInterface calculator)
Set the nicenumber creator.
|
void |
setPosition(double newPosition)
Set the position of the axis.
|
void |
setRange(P2DRange1DInterface newRange)
Sets the range of the axis.
|
void |
setTickCount(int ticks)
Set the total number of ticks.
|
void |
setTicklen(double newTicklen)
Set the length of the ticks.
|
void |
setTickvalueAttributor(P2DAttributorInterface attributor)
Set the attributer for the tickvalues.
|
void |
setTitle(java.lang.String newTitle)
Set the title string of the axis.
|
void |
setTitleAlignment(double alignment)
Set the title alignment of the axis.
|
void |
setTitleAttributor(P2DAttributorInterface attributor)
Set the title attributer.
|
void |
setType(P2DAxisTypeInterface newType)
Set the type of the axis.
|
void |
setUpperLimit(double upper)
Set the upper value of the range.
|
void |
toBeginOfRange()
Set the upper range value to the begin of autorange value.
|
void |
toEndOfRange()
Set the lower range value to the end of autorange value.
|
void |
zoomIn()
Zoom into.
|
void |
zoomOut()
Zoom out.
|
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, updateView
addContainerListener, 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, writeToXML
addInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, getInfoBusName, getMemberName, isConnected, joinInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus, setInfoBusName
addDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getProperty, getPropertyGroup, isChangeManagerSuspended, removeDataItemChangeListener, setProperty, setPropertyGroup, suspendChangeManager
addVetoableChangeListener, 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, getPersistentObjectNames, getSupportEMail, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, 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
getClassName, getPresentationString, getPresentationString, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setClassName, setCreationDate, toString
getNiceVersion
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
askForName, 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, updateView
addContainerListener, 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, toFront
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, getName, getPresentationString, getPresentationString, getSupportEMail, 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
release
addInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus
getCompany, readConstructor, readFromDOM, readingDOM, readingDOM, writeConstructor, writeToDOM, writeToXML
configure, 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, setVisible
addDialogPane, 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, unregisterContainer
focusGained, focusLost, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased
public static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
public P2DAxis()
public P2DAxis(java.lang.String name)
type
- The type of the newly created axis.
Use the predefined defined by P2DAxisModelInterface.P2DAxisModelInterface
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class P2DComponent
public static FwkDescriptionInterface getDescriptor()
public java.lang.String getIconKey()
getIconKey
in interface FwkDescriptionInterface
getIconKey
in class FwkPersistence
protected void init(java.lang.String name)
public boolean isValid()
isValid
in interface P2DAxisInterface
public P2DRange1DInterface getNiceNumberRange()
getNiceNumberRange
in interface P2DAxisInterface
public P2DRange1DInterface getChannelRange()
getChannelRange
in interface P2DAxisInterface
public P2DRange1DInterface getRange()
getRange
in interface P2DAxisInterface
getRange
in interface P2DRangeInterface
public void setRange(P2DRange1DInterface newRange)
setRange
in interface P2DAxisInterface
setRange
in interface P2DRangeInterface
newRange
- The range of the axis.public double getLowerLimit()
getLowerLimit
in interface P2DRangeInterface
public double getUpperLimit()
getUpperLimit
in interface P2DRangeInterface
public void setLowerLimit(double lower)
setLowerLimit
in interface P2DRangeInterface
lower
- the lower value of the marker.public void setUpperLimit(double upper)
setUpperLimit
in interface P2DRangeInterface
upper
- the upper value of the marker.public boolean getAutoRange()
getAutoRange
in interface P2DAutoRangeInterface
getAutoRange
in interface P2DAxisInterface
public void setAutoRange(boolean flag)
setAutoRange
in interface P2DAutoRangeInterface
setAutoRange
in interface P2DAxisInterface
flag
- The new auto-range flag of the axis.public java.lang.String getTitle()
getTitle
in interface FwkDescriptionInterface
getTitle
in interface P2DAxisInterface
getTitle
in class FwkPersistence
public void setTitle(java.lang.String newTitle)
setTitle
in interface P2DAxisInterface
newTitle
- The new title string.public FwkArrayInterface getAttributedTitle()
getAttributedTitle
in interface P2DAxisInterface
public void setTitleAttributor(P2DAttributorInterface attributor)
setTitleAttributor
in interface P2DAxisInterface
attributor
- The title attributerpublic P2DAttributorInterface getTitleAttributor()
getTitleAttributor
in interface P2DAxisInterface
public void addChannel(P2DChannelInterface channel)
addChannel
in interface P2DAxisInterface
channel
- The channel to be observed.public void removeChannel(P2DChannelInterface channel)
removeChannel
in interface P2DAxisInterface
channel
- The channel to be observed.public java.util.Iterator getChannels()
getChannels
in interface P2DAxisInterface
public double getPosition()
getPosition
in interface P2DAxisInterface
public void setPosition(double newPosition)
setPosition
in interface P2DAxisInterface
newPosition
- The new axis position.public FwkArrayInterface getTickvalues()
getTickvalues
in interface P2DAxisInterface
public FwkArrayInterface getAttributedTickvalues()
getAttributedTickvalues
in interface P2DAxisInterface
public void setTickvalueAttributor(P2DAttributorInterface attributor)
setTickvalueAttributor
in interface P2DAxisInterface
attributor
- The tick value attributor.public P2DAttributorInterface getTickvalueAttributor()
getTickvalueAttributor
in interface P2DAxisInterface
The
- tick value attributor.public double getTicklen()
getTicklen
in interface P2DAxisInterface
public void setTicklen(double newTicklen)
setTicklen
in interface P2DAxisInterface
ticklen
- This value should be in the range of 0 ... 1.0public P2DAxisTypeInterface getType()
getType
in interface P2DAxisInterface
public void setType(P2DAxisTypeInterface newType)
setType
in interface P2DAxisInterface
The
- new axis type. Use the predefined constants declaired in the P2DAxisModelInterface.public boolean getLog()
getLog
in interface P2DAxisInterface
public void setLog(boolean flag)
setLog
in interface P2DAxisInterface
flag
- true if axis is logarithmn.public void setBase(double base)
setBase
in interface P2DAxisInterface
base
- The new basepublic double getBase()
getBase
in interface P2DAxisInterface
public void setGrid(boolean flag)
setGrid
in interface P2DAxisInterface
flag
- if true the grid is turned on.public boolean getGrid()
getGrid
in interface P2DAxisInterface
public void setGridAppearance(FwkAppearanceInterface appearance)
setGridAppearance
in interface P2DAxisInterface
appearance
- The grid appearance.public FwkAppearanceInterface getGridAppearance()
getGridAppearance
in interface P2DAxisInterface
public void setGridColor(java.awt.Color color)
setGridColor
in interface P2DAxisInterface
color
- the color for the grid.public java.awt.Color getGridColor()
getGridColor
in interface P2DAxisInterface
public void setGridTransparency(float transparency)
setGridTransparency
in interface P2DAxisInterface
transparency
- the color transparency for the grid.public float getGridTransparency()
getGridTransparency
in interface P2DAxisInterface
public void drawGrid(java.awt.Graphics2D g, P2DRange1DInterface range)
drawGrid
in interface P2DAxisInterface
g
- The graphical context.range
- The range for the grid.public void zoomIn()
zoomIn
in interface P2DAxisInterface
public void zoomOut()
zoomOut
in interface P2DAxisInterface
public void toEndOfRange()
toEndOfRange
in interface P2DAxisInterface
public void toBeginOfRange()
toBeginOfRange
in interface P2DAxisInterface
public void nextRangeWindow()
nextRangeWindow
in interface P2DAxisInterface
public void prevRangeWindow()
prevRangeWindow
in interface P2DAxisInterface
public void nextRangeStep()
nextRangeStep
in interface P2DAxisInterface
public void prevRangeStep()
prevRangeStep
in interface P2DAxisInterface
public void setFullResolution(P2DContainerInterface container)
setFullResolution
in interface P2DAxisInterface
container
- The container that set the transformation.public int getTickCount()
getTickCount
in interface P2DAxisInterface
public void setTickCount(int ticks)
setTickCount
in interface P2DAxisInterface
count
- The total number of ticks. Set it to 0 if you wants that the
axis determines the number itself.public void setNiceNumberCalculator(P2DRange1DInterface calculator)
setNiceNumberCalculator
in interface P2DAxisInterface
calculator
- The calculator.public P2DRange1DInterface getNiceNumberCalculator()
getNiceNumberCalculator
in interface P2DAxisInterface
public void setTitleAlignment(double alignment)
setTitleAlignment
in interface P2DAxisInterface
alignment
- the alignment (default is 0.5 / center)public double getTitleAlignment()
getTitleAlignment
in interface P2DAxisInterface
public void setMinorTicks(boolean flag)
setMinorTicks
in interface P2DAxisInterface
flag
- if true the minor ticks is turned on.public boolean getMinorTicks()
getMinorTicks
in interface P2DAxisInterface