Class RMDocumentTool<T extends RMDocument>


  • public class RMDocumentTool<T extends RMDocument>
    extends RMTool<T>
    This class provides UI for configuring an RMDocument.
    • Constructor Detail

      • RMDocumentTool

        public RMDocumentTool()
    • Method Detail

      • getShapeClass

        public java.lang.Class getShapeClass()
        Returns the class that tool edits.
        Overrides:
        getShapeClass in class RMTool<T extends RMDocument>
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the name to be show in inspector window.
        Overrides:
        getWindowTitle in class RMTool<T extends RMDocument>
      • initUI

        protected void initUI()
        Initialize UI panel.
        Overrides:
        initUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • resetUI

        public void resetUI()
        Resets the UI controls from the current document.
        Overrides:
        resetUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Responds to controls in UI to update current document.
        Overrides:
        respondUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • getHandleCount

        public int getHandleCount​(T aShape)
        Overrides tool method to declare that documents have no handles.
        Overrides:
        getHandleCount in class RMTool<T extends RMDocument>