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

    • SCROLLBAR_AS_NEEDED

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

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

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

    • TLcdStringComponentTable

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

    • setClassTraceOn

      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

      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

      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

      public Component getComponent()
      Deprecated.
    • setTableModel

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

      public ILcdStringComponentTableModel getTableModel()
      Deprecated.
    • getWidth

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

      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

      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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public int getLeftRightMargin()
      Deprecated.
    • setTopBottomMargin

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

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