Package com.luciad.gui.awt
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
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.Panel
Panel.AccessibleAWTPanelNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoLayout()Deprecated.Re-definesComponent.doLayout()to bound the Components at the right size and location in the second column.Deprecated.Deprecated.Sets the HeaderBackground property.intgetHGap()Deprecated.Gets the Horizontal Gap between 2 rows.intDeprecated.Deprecated.Re-definesComponent.getPreferredSize().intDeprecated.Sets the minimum width of a column.Deprecated.Re-definesComponent.getPreferredSize().intDeprecated.Sets the minimum width of a column.intDeprecated.Gets the height of each row.Deprecated.intDeprecated.Gets the TopBottomMargin property.intgetVGap()Deprecated.Gets the Vertical Gap between 2 rows.intgetWidth()Deprecated.booleanDeprecated.This method has been deprecated.voidDeprecated.Re-definesComponent.paint(), to firstly paint the Strings on the left column, and then the Components on the right one by callingsuper.paint().static voidsetClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.voidsetHeaderBackground(Color aColor) Deprecated.Gets the HeaderBackground property.voidsetHGap(int newHGap) Deprecated.Sets the Horizontal Gap between 2 rows.voidsetLeftRightMargin(int newLeftRightMargin) Deprecated.Sets the LeftRightMargin property.voidsetMinWidth(int newMinWidth) Deprecated.Sets the minimum width of a column.voidsetRowHeight(int newRowHeight) Deprecated.Sets the height of each row.voidsetTableModel(ILcdStringComponentTableModel aStringComponentTableModel) Deprecated.Sets theILcdStringComponentTableModelfor thisTLcdStringComponentTable.voidsetTopBottomMargin(int newTopBottomMargin) Deprecated.Sets the TopBottomMargin property.voidsetTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated.voidsetVGap(int newVGap) Deprecated.Sets the Vertical Gap between 2 rows.Methods inherited from class java.awt.Panel
addNotify, getAccessibleContextMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
SCROLLBAR_AS_NEEDED
public static final int SCROLLBAR_AS_NEEDEDDeprecated.- See Also:
-
SCROLLBAR_ALWAYS
public static final int SCROLLBAR_ALWAYSDeprecated.- See Also:
-
SCROLLBAR_NEVER
public static final int SCROLLBAR_NEVERDeprecated.- 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 istruethen 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 eithertrueorfalseas argument automatically turns off tracing for all other class instances for whichsetTraceOnhas not been called. If the argument isfalsethen 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.Returnstrueif tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
getComponent
Deprecated. -
setTableModel
Deprecated.Sets theILcdStringComponentTableModelfor thisTLcdStringComponentTable.- See Also:
-
getTableModel
Deprecated. -
getWidth
public int getWidth()Deprecated. -
doLayout
public void doLayout()Deprecated.Re-definesComponent.doLayout()to bound the Components at the right size and location in the second column. Note that only theComponentare added, the Strings are drawn by thepaint()method. -
paint
Deprecated.Re-definesComponent.paint(), to firstly paint the Strings on the left column, and then the Components on the right one by callingsuper.paint(). -
getMinimumSize
Deprecated.Re-definesComponent.getPreferredSize().- Overrides:
getMinimumSizein classContainer
-
getPreferredSize
Deprecated.Re-definesComponent.getPreferredSize().- Overrides:
getPreferredSizein classContainer
-
getHeaderBackground
Deprecated.Sets the HeaderBackground property. -
setHeaderBackground
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.
-