Class JSplitPaneShape

    • Constructor Detail

      • JSplitPaneShape

        public JSplitPaneShape()
        Creates a new splitpane shape.
      • JSplitPaneShape

        public JSplitPaneShape​(javax.swing.JComponent aComponent)
        Creates a new splitpane shape.
    • Method Detail

      • getSplitPane

        public javax.swing.JSplitPane getSplitPane()
        Returns the splitpane shape's splitpane.
      • superSelectable

        public boolean superSelectable()
        Overrides default implementation to indicate that this shape can be super selected.
        Overrides:
        superSelectable in class RMShape
      • childrenSuperSelectImmediately

        public boolean childrenSuperSelectImmediately()
        Overrides default implementation to indicate children should super select immediately.
        Overrides:
        childrenSuperSelectImmediately in class RMShape
      • paintImage

        public void paintImage​(java.awt.Graphics2D g)
        Overrides default implementation to do brute force painting.
        Overrides:
        paintImage in class RJShape
      • getTopShape

        public RJShape getTopShape()
        Specific methods to return each child as the Tool created them
      • getBottomShape

        public RJShape getBottomShape()
      • getLeftShape

        public RJShape getLeftShape()
      • getRightShape

        public RJShape getRightShape()
      • getOrientation

        public int getOrientation()
        returns one of the JSplitPane constants HORIZONTAL_SPLIT or VERTICAL_SPLIT
      • setHeightDeep

        public void setHeightDeep​(float h,
                                  boolean constrain)
        Sizing methods to handle three child components appropriately
        Overrides:
        setHeightDeep in class RMShape
      • setWidthDeep

        public void setWidthDeep​(float w,
                                 boolean constrain)
        Description copied from class: RMShape
        Sets the width of this shape and its children (proportionally using their autosizing).
        Overrides:
        setWidthDeep in class RMShape
      • setDividerLocation

        public void setDividerLocation​(int loc)
        Set the dividerLocation of the Component and resize children
      • setHorizontalDividerLocation

        public void setHorizontalDividerLocation​(int loc)
        Set the dividerLocation of a horizontal splitpane and resize children
      • setVerticalDividerLocation

        public void setVerticalDividerLocation​(int loc)
        Set the dividerLocation of a horizontal splitpane and resize children