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.AccessibleAWTPanel
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated.static final int
Deprecated.static final int
Deprecated.Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doLayout()
Deprecated.Re-definesComponent.doLayout()
to bound the Components at the right size and location in the second column.Deprecated.Deprecated.Sets the HeaderBackground property.int
getHGap()
Deprecated.Gets the Horizontal Gap between 2 rows.int
Deprecated.Deprecated.Re-definesComponent.getPreferredSize()
.int
Deprecated.Sets the minimum width of a column.Deprecated.Re-definesComponent.getPreferredSize()
.int
Deprecated.Sets the minimum width of a column.int
Deprecated.Gets the height of each row.Deprecated.int
Deprecated.Gets the TopBottomMargin property.int
getVGap()
Deprecated.Gets the Vertical Gap between 2 rows.int
getWidth()
Deprecated.boolean
Deprecated.This method has been deprecated.void
Deprecated.Re-definesComponent.paint()
, to firstly paint the Strings on the left column, and then the Components on the right one by callingsuper.paint()
.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setHeaderBackground
(Color aColor) Deprecated.Gets the HeaderBackground property.void
setHGap
(int newHGap) Deprecated.Sets the Horizontal Gap between 2 rows.void
setLeftRightMargin
(int newLeftRightMargin) Deprecated.Sets the LeftRightMargin property.void
setMinWidth
(int newMinWidth) Deprecated.Sets the minimum width of a column.void
setRowHeight
(int newRowHeight) Deprecated.Sets the height of each row.void
setTableModel
(ILcdStringComponentTableModel aStringComponentTableModel) Deprecated.Sets theILcdStringComponentTableModel
for thisTLcdStringComponentTable
.void
setTopBottomMargin
(int newTopBottomMargin) Deprecated.Sets the TopBottomMargin property.void
setTraceOn
(boolean aTraceOn) Deprecated.This method has been deprecated.void
setVGap
(int newVGap) Deprecated.Sets the Vertical Gap between 2 rows.Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
Methods 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, validateTree
Methods 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 istrue
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 eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
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.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
getComponent
Deprecated. -
setTableModel
Deprecated.Sets theILcdStringComponentTableModel
for 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 theComponent
are 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:
getMinimumSize
in classContainer
-
getPreferredSize
Deprecated.Re-definesComponent.getPreferredSize()
.- Overrides:
getPreferredSize
in 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.
-