Class JTableShape

    • Constructor Detail

      • JTableShape

        public JTableShape()
    • Method Detail

      • getShowHeader

        public boolean getShowHeader()
        Returns whether to show header.
      • setShowHeader

        public void setShowHeader​(boolean aValue)
        Sets whether to show header.
      • getRowSelectionAllowed

        public boolean getRowSelectionAllowed()
        Returns whether row selection is allowed.
      • setRowSelectionAllowed

        public void setRowSelectionAllowed​(boolean aValue)
        Sets whether row selection is allowed.
      • getColumnSelectionAllowed

        public boolean getColumnSelectionAllowed()
        Returns whether column selection is allowed.
      • setColumnSelectionAllowed

        public void setColumnSelectionAllowed​(boolean aValue)
        Sets whether row selection is allowed.
      • getAutoResizeMode

        public int getAutoResizeMode()
        Returns the auto resize mode.
      • setAutoResizeMode

        public void setAutoResizeMode​(int aValue)
        Sets the auto resize mode.
      • getAutoResizeModeString

        public java.lang.String getAutoResizeModeString()
        Returns the auto resize mode for the given JTable as a simple string.
      • setAutoResizeModeString

        public void setAutoResizeModeString​(java.lang.String aString)
        Set the auto resize mode for a table from the given string.
      • getSelectionMode

        public int getSelectionMode()
        Returns the selection mode.
      • setSelectionMode

        public void setSelectionMode​(int aValue)
        Sets the selection mode.
      • getSelectionModeString

        public java.lang.String getSelectionModeString()
        Returns the selection mode string for a table.
      • setSelectionModeString

        public void setSelectionModeString​(java.lang.String aString)
        Sets the selection mode for a table from given string.
      • getShowHorizontalLines

        public boolean getShowHorizontalLines()
        Returns whether to show horizontal lines.
      • setShowHorizontalLines

        public void setShowHorizontalLines​(boolean aValue)
        Sets whether to show horizontal lines.
      • getShowVerticalLines

        public boolean getShowVerticalLines()
        Returns whether to show vertical lines.
      • setShowVerticalLines

        public void setShowVerticalLines​(boolean aValue)
        Sets whether to show vertical lines.
      • getAutoCreateRowSorter

        public boolean getAutoCreateRowSorter()
        Returns whether to auto create row sorter.
      • setAutoCreateRowSorter

        public void setAutoCreateRowSorter​(boolean aValue)
        Sets whether to auto create row sorter.
      • getGridColor

        public RMColor getGridColor()
        Returns grid color.
      • setGridColor

        public void setGridColor​(RMColor aValue)
        Sets grid color.
      • getRowHeight

        public int getRowHeight()
        Returns the row height.
      • setRowHeight

        public void setRowHeight​(int aValue)
        Sets the row height.
      • getIntercellSpacing

        public java.awt.Dimension getIntercellSpacing()
        Returns the intercell spacing.
      • setIntercellSpacing

        public void setIntercellSpacing​(java.awt.Dimension aValue)
        Sets the intercell spacing.
      • getColumnCount

        public int getColumnCount()
        Returns the number of columns.
      • getColumnShape

        public JTableColumnShape getColumnShape​(int anIndex)
        Returns the column shape at given index.
      • superSelectable

        public boolean superSelectable()
        Editor method - overrides default implementation to indicate shape is super selectable.
        Overrides:
        superSelectable in class RMShape
      • childrenSuperSelectImmediately

        public boolean childrenSuperSelectImmediately()
        Editor method - overrides default implementation to indicate children should super select immediately.
        Overrides:
        childrenSuperSelectImmediately in class RMShape
      • getComponentClass

        public java.lang.Class<? extends javax.swing.JComponent> getComponentClass()
        Returns the component class for this component shape.
        Overrides:
        getComponentClass in class JComponentShape