Class JTableHpr


  • public class JTableHpr
    extends RJHelper
    This class is a JTable helper class to do some table management and archival for Ribs.

    Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill .

    • Constructor Detail

      • JTableHpr

        public JTableHpr()
    • Method Detail

      • newInstance

        public java.lang.Object newInstance​(RXElement anElement)
        Creates a new instance of class for given element.
        Overrides:
        newInstance in class RJHelper
      • initInstance

        public void initInstance​(javax.swing.JComponent aComponent)
        Initializes the given instance (actually called the first time an owner is set).
        Overrides:
        initInstance in class RJHelper
      • getValue

        public java.lang.Object getValue​(javax.swing.JComponent aComponent)
        Returns the table's selected cell value.
        Overrides:
        getValue in class RJHelper
      • getStringValue

        public java.lang.String getStringValue​(javax.swing.JComponent aComponent)
        Returns the table's selected cell value as a string.
        Overrides:
        getStringValue in class RJHelper
      • getIntValue

        public int getIntValue​(javax.swing.JComponent aComponent)
        Returns the table's selected row.
        Overrides:
        getIntValue in class RJHelper
      • setValue

        public void setValue​(javax.swing.JComponent aComponent,
                             int aValue)
        Sets the table's selected row.
        Overrides:
        setValue in class RJHelper
      • getAutoResizeModeString

        public java.lang.String getAutoResizeModeString​(javax.swing.JTable aTable)
        Returns the auto resize mode for the given JTable as a simple string.
      • getAutoResizeMode

        public int getAutoResizeMode​(java.lang.String aString)
        Returns the auto resize mode for the given string.
      • fromXML

        public void fromXML​(javax.swing.JComponent aComponent,
                            RXArchiver anArchiver,
                            RXElement anElement)
        XML unarchival.
        Overrides:
        fromXML in class RJHelper