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 class
RMBorder.BevelBorder
A subclass for bevel border.static class
RMBorder.EmptyBorder
A subclass for empty border.static class
RMBorder.EtchedBorder
A subclass for etched border.static class
RMBorder.LineBorder
A subclass for line border.static class
RMBorder.TitledBorder
A 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.Border
createBorder()
Creates the border.static RMBorder
fromXMLBorder(RXArchiver anArchiver, RXElement anElement)
XML unarchival.javax.swing.border.Border
getBorder()
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.
-
-