Package com.inductiveautomation.rm.swing
Class RMBorder
- java.lang.Object
-
- com.inductiveautomation.rm.swing.RMBorder
-
- All Implemented Interfaces:
Archivable
- Direct Known Subclasses:
RMBorder.BevelBorder,RMBorder.EmptyBorder,RMBorder.EtchedBorder,RMBorder.LineBorder,RMBorder.TitledBorder
public abstract class RMBorder extends java.lang.Object implements Archivable
A class to represent Swing borders for JComponentShape.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRMBorder.BevelBorderA subclass for bevel border.static classRMBorder.EmptyBorderA subclass for empty border.static classRMBorder.EtchedBorderA subclass for etched border.static classRMBorder.LineBorderA subclass for line border.static classRMBorder.TitledBorderA subclass for etched border.
-
Constructor Summary
Constructors Constructor Description RMBorder()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract javax.swing.border.BordercreateBorder()Creates the border.static RMBorderfromXMLBorder(RXArchiver anArchiver, RXElement anElement)XML unarchival.javax.swing.border.BordergetBorder()Returns the Swing border.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.rm.archiver.Archivable
fromXML, toXML
-
-
-
-
Method Detail
-
getBorder
public javax.swing.border.Border getBorder()
Returns the Swing border.
-
createBorder
protected abstract javax.swing.border.Border createBorder()
Creates the border.
-
fromXMLBorder
public static RMBorder fromXMLBorder(RXArchiver anArchiver, RXElement anElement)
XML unarchival.
-
-