Class TLcdStringComponentTable

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
com.luciad.gui.awt.TLcdStringComponentTable
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TLcdStringComponentTable extends Panel
Deprecated.
use JTable instead
This class is a resizable 2 columns table described by an ILcdStringComponentTableModel. The first column contains Strings, and the second Components. All Strings and Components at a given row is returned by the ILcdStringComponentTableModel attached to this TLcdStringComponentTable.

The implementation of this class may be later improved by adding in this Container only the visible Components returned by the attached ILcdStringComponentTableModel.

See Also:
  • Field Details Link icon

    • SCROLLBAR_AS_NEEDED Link icon

      public static final int SCROLLBAR_AS_NEEDED
      Deprecated.
      See Also:
    • SCROLLBAR_ALWAYS Link icon

      public static final int SCROLLBAR_ALWAYS
      Deprecated.
      See Also:
    • SCROLLBAR_NEVER Link icon

      public static final int SCROLLBAR_NEVER
      Deprecated.
      See Also:
  • Constructor Details Link icon

    • TLcdStringComponentTable Link icon

      public TLcdStringComponentTable()
      Deprecated.
      Default constructor.
  • Method Details Link icon

    • setClassTraceOn Link icon

      public static void setClassTraceOn(boolean aClassTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for all instances of this class. If the argument is true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
      Parameters:
      aClassTraceOn - if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
    • setTraceOn Link icon

      public void setTraceOn(boolean aTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for this class instance. Calling this method with either true or false as argument automatically turns off tracing for all other class instances for which setTraceOn has not been called. If the argument is false then only the informative, warning and error log messages are recorded.
      Parameters:
      aTraceOn - if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
    • isTraceOn Link icon

      public boolean isTraceOn()
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Returns true if tracing is enabled for this class.
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • getComponent Link icon

      public Component getComponent()
      Deprecated.
    • setTableModel Link icon

      public void setTableModel(ILcdStringComponentTableModel aStringComponentTableModel)
      Deprecated.
      Sets the ILcdStringComponentTableModel for this TLcdStringComponentTable.
      See Also:
    • getTableModel Link icon

      public ILcdStringComponentTableModel getTableModel()
      Deprecated.
    • getWidth Link icon

      public int getWidth()
      Deprecated.
      Overrides:
      getWidth in class Component
    • doLayout Link icon

      public void doLayout()
      Deprecated.
      Re-defines Component.doLayout() to bound the Components at the right size and location in the second column. Note that only the Component are added, the Strings are drawn by the paint() method.
      Overrides:
      doLayout in class Container
    • paint Link icon

      public void paint(Graphics g)
      Deprecated.
      Re-defines Component.paint(), to firstly paint the Strings on the left column, and then the Components on the right one by calling super.paint().
      Overrides:
      paint in class Container
    • getMinimumSize Link icon

      public Dimension getMinimumSize()
      Deprecated.
      Re-defines Component.getPreferredSize().
      Overrides:
      getMinimumSize in class Container
    • getPreferredSize Link icon

      public Dimension getPreferredSize()
      Deprecated.
      Re-defines Component.getPreferredSize().
      Overrides:
      getPreferredSize in class Container
    • getHeaderBackground Link icon

      public Color getHeaderBackground()
      Deprecated.
      Sets the HeaderBackground property.
    • setHeaderBackground Link icon

      public void setHeaderBackground(Color aColor)
      Deprecated.
      Gets the HeaderBackground property.
    • setRowHeight Link icon

      public void setRowHeight(int newRowHeight)
      Deprecated.
      Sets the height of each row.
    • getRowHeight Link icon

      public int getRowHeight()
      Deprecated.
      Gets the height of each row.
    • setMinWidth Link icon

      public void setMinWidth(int newMinWidth)
      Deprecated.
      Sets the minimum width of a column.
    • getMinWidth Link icon

      public int getMinWidth()
      Deprecated.
      Sets the minimum width of a column.
    • getPreferredWidth Link icon

      public int getPreferredWidth()
      Deprecated.
      Sets the minimum width of a column.
    • setHGap Link icon

      public void setHGap(int newHGap)
      Deprecated.
      Sets the Horizontal Gap between 2 rows.
    • getHGap Link icon

      public int getHGap()
      Deprecated.
      Gets the Horizontal Gap between 2 rows.
    • setVGap Link icon

      public void setVGap(int newVGap)
      Deprecated.
      Sets the Vertical Gap between 2 rows.
    • getVGap Link icon

      public int getVGap()
      Deprecated.
      Gets the Vertical Gap between 2 rows.
    • setLeftRightMargin Link icon

      public void setLeftRightMargin(int newLeftRightMargin)
      Deprecated.
      Sets the LeftRightMargin property.
    • getLeftRightMargin Link icon

      public int getLeftRightMargin()
      Deprecated.
    • setTopBottomMargin Link icon

      public void setTopBottomMargin(int newTopBottomMargin)
      Deprecated.
      Sets the TopBottomMargin property.
    • getTopBottomMargin Link icon

      public int getTopBottomMargin()
      Deprecated.
      Gets the TopBottomMargin property.