Class RMBorderStroke
java.lang.Object
com.inductiveautomation.rm.base.RMListenerList
com.inductiveautomation.rm.base.RMObject
com.inductiveautomation.rm.graphics.RMFill
com.inductiveautomation.rm.graphics.RMStroke
com.inductiveautomation.rm.graphics.RMBorderStroke
- All Implemented Interfaces:
Archivable,RMPropertyChanger,Cloneable
This stroke subclass strokes the rectangular border of a given shape, with option include/exclude individual sides.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanStandard equals implementation.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.booleanReturns whether to show bottom border.booleanReturns whether to show left border.booleanReturns whether to show right border.booleanReturns whether to show top border.getStrokePath(RMShape aShape) Returns the path to be stroked, transformed from the input path.voidsetShowBottom(boolean aValue) Sets whether to show bottom border.voidsetShowLeft(boolean aValue) Sets whether to show left border.voidsetShowRight(boolean aValue) Sets whether to show right border.voidsetShowTop(boolean aValue) Sets whether to show top border.toXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.graphics.RMStroke
clone, getBounds, getDashArray, getDashArray, getDashArrayString, getDashArrayString, getDashPhase, getName, getStroke, getWidth, paint, readAttributes, setColor, setDashArray, setDashArrayString, setDashPhase, setWidthMethods inherited from class com.inductiveautomation.rm.graphics.RMFill
deriveFill, getColor, hasAlpha, toStringMethods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
RMBorderStroke
public RMBorderStroke()
-
-
Method Details
-
getShowLeft
public boolean getShowLeft()Returns whether to show left border. -
setShowLeft
public void setShowLeft(boolean aValue) Sets whether to show left border. -
getShowRight
public boolean getShowRight()Returns whether to show right border. -
setShowRight
public void setShowRight(boolean aValue) Sets whether to show right border. -
getShowTop
public boolean getShowTop()Returns whether to show top border. -
setShowTop
public void setShowTop(boolean aValue) Sets whether to show top border. -
getShowBottom
public boolean getShowBottom()Returns whether to show bottom border. -
setShowBottom
public void setShowBottom(boolean aValue) Sets whether to show bottom border. -
getStrokePath
Returns the path to be stroked, transformed from the input path.- Overrides:
getStrokePathin classRMStroke
-
equals
Standard equals implementation. -
toXML
XML archival.- Specified by:
toXMLin interfaceArchivable- Overrides:
toXMLin classRMStroke
-
fromXML
XML unarchival.- Specified by:
fromXMLin interfaceArchivable- Overrides:
fromXMLin classRMStroke
-