public class TLcdButton extends Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
TLcdButton()
Deprecated.
|
TLcdButton(ILcdAction aAction)
Deprecated.
|
TLcdButton(ILcdIcon aIcon)
Deprecated.
|
TLcdButton(String aLabel)
Deprecated.
|
TLcdButton(String aLabel,
ILcdIcon aIcon)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener aActionListener)
Deprecated.
|
void |
addNotify()
Deprecated.
|
TLcdButton |
asTLcdButton()
Deprecated.
|
Container |
findParentContainer()
Deprecated.
|
ILcdAction |
getAction()
Deprecated.
|
String |
getActionCommand()
Deprecated.
|
Component |
getComponent()
Deprecated.
|
ILcdIcon |
getILcdIcon()
Deprecated.
|
String |
getLabel()
Deprecated.
|
Dimension |
getMaximumSize()
Deprecated.
|
Dimension |
getMinimumSize()
Deprecated.
|
Dimension |
getPreferredSize()
Deprecated.
|
Component |
getToolTipComponent()
Deprecated.
|
Point |
getToolTipLocation(MouseEvent aMouseEvent)
Deprecated.
|
String |
getToolTipText()
Deprecated.
|
String |
getToolTipText(MouseEvent aMouseEvent)
Deprecated.
|
boolean |
isTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
paint(Graphics g)
Deprecated.
|
protected void |
processActionEvent(ActionEvent e)
Deprecated.
|
protected void |
processEvent(AWTEvent e)
Deprecated.
|
void |
removeActionListener(ActionListener aActionListener)
Deprecated.
|
void |
setAction(ILcdAction aAction)
Deprecated.
|
void |
setActionCommand(String command)
Deprecated.
|
void |
setBackgroundToolTip(Color aBackgroundToolTip)
Deprecated.
|
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setILcdIcon(ILcdIcon aIcon)
Deprecated.
|
void |
setLabel(String newLabel)
Deprecated.
|
void |
setToolTipText(String aToolTipText)
Deprecated.
|
void |
setTraceOn(boolean aTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
protected void |
updatePreferredSize()
Deprecated.
|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
public TLcdButton()
public TLcdButton(ILcdIcon aIcon)
public TLcdButton(String aLabel)
public TLcdButton(ILcdAction aAction)
public static void setClassTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public void setTraceOn(boolean aTraceOn)
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.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.public boolean isTraceOn()
true
if tracing is enabled for this class.public void setAction(ILcdAction aAction)
public ILcdAction getAction()
public TLcdButton asTLcdButton()
public Component getComponent()
public void addActionListener(ActionListener aActionListener)
public void removeActionListener(ActionListener aActionListener)
protected void processActionEvent(ActionEvent e)
protected void processEvent(AWTEvent e)
processEvent
in class Component
public void setActionCommand(String command)
public String getActionCommand()
public void setILcdIcon(ILcdIcon aIcon)
public ILcdIcon getILcdIcon()
public Dimension getPreferredSize()
getPreferredSize
in class Component
public Dimension getMinimumSize()
getMinimumSize
in class Component
public Dimension getMaximumSize()
getMaximumSize
in class Component
public void setToolTipText(String aToolTipText)
public String getToolTipText()
public String getToolTipText(MouseEvent aMouseEvent)
public Component getToolTipComponent()
public Point getToolTipLocation(MouseEvent aMouseEvent)
public void setBackgroundToolTip(Color aBackgroundToolTip)
public Container findParentContainer()
public void setLabel(String newLabel)
public String getLabel()
protected void updatePreferredSize()