Package com.luciad.beans.awt
Class TLcdPropertyColor
java.lang.Object
java.awt.Component
java.awt.Canvas
com.luciad.beans.awt.TLcdPropertyColor
- All Implemented Interfaces:
MouseListener
,ImageObserver
,MenuContainer
,Serializable
,EventListener
,Accessible
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
This is a
Component
to edit a Color
property through its PropertyEditor.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.Canvas
Canvas.AccessibleAWTCanvas
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
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
ConstructorDescriptionTLcdPropertyColor
(Frame frame, PropertyEditor pe) Deprecated.Constructs aTLcdPropertyColor
with aPropertyEditor
which getValue method returns an instance of theColor
class.Deprecated.Constructs aTLcdPropertyColor
with aPropertyEditor
which getValue method returns an instance of theColor
class. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.void
Deprecated.Deprecated.static Color[]
Deprecated.Deprecated.Deprecated.Deprecated.Get thePropertyEditor
to be considered.boolean
isCellEditable
(EventObject aEvent) Deprecated.void
mouseClicked
(MouseEvent evt) Deprecated.Implements MouseListener.mouseClicked.void
mouseEntered
(MouseEvent evt) Deprecated.Implements MouseListener.mouseEntered.void
mouseExited
(MouseEvent evt) Deprecated.Implements MouseListener.mouseExited.void
mousePressed
(MouseEvent evt) Deprecated.Implements MouseListener.mousePressed.void
mouseReleased
(MouseEvent evt) Deprecated.This implementation opens aWindow
with a choice among default Colors.void
Deprecated.void
Deprecated.Redefines removeNotify in order to unregister as PropertyChangeListener from the set PropertyEditor.static void
Deprecated.void
setDialogTitle
(String aTitle) Deprecated.void
setPropertyEditor
(PropertyEditor aPropertyEditor) Deprecated.Sets thePropertyEditor
to be considered.boolean
shouldSelectCell
(EventObject aEvent) Deprecated.boolean
Deprecated.Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update
Methods inherited from class java.awt.Component
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, 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, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPreferredSize, 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, processEvent, 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, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
-
Constructor Details
-
TLcdPropertyColor
Deprecated.Constructs aTLcdPropertyColor
with aPropertyEditor
which getValue method returns an instance of theColor
class.The given
Frame
will be used as parentFrame
for thePropertyDialog
This
TLcdPropertyCanvas
will register as PropertyChangeListener to the given PropertyEditor, and repaint itself each a PropertyChangeEvent has been fire. -
TLcdPropertyColor
Deprecated.Constructs aTLcdPropertyColor
with aPropertyEditor
which getValue method returns an instance of theColor
class.The parent
Frame
for thePropertyDialog
will be found usingTLcdAWTUtil.findParentFrame
(Object) with the MouseEvent received on the MouseReleased.This
TLcdPropertyCanvas
will register as PropertyChangeListener to the given PropertyEditor, and repaint itself each a PropertyChangeEvent has been fire.
-
-
Method Details
-
addColor
Deprecated. -
setColors
Deprecated. -
getColors
Deprecated. -
setDialogTitle
Deprecated. -
getDialogTitle
Deprecated. -
getPropertyEditor
Deprecated.Get thePropertyEditor
to be considered.aPropertyEditor.getValue()
must return an instance of Color. -
setPropertyEditor
Deprecated.Sets thePropertyEditor
to be considered.aPropertyEditor.getValue()
must return an instance of Color. -
removeNotify
public void removeNotify()Deprecated.Redefines removeNotify in order to unregister as PropertyChangeListener from the set PropertyEditor.- Overrides:
removeNotify
in classComponent
-
paint
Deprecated. -
mouseReleased
Deprecated.This implementation opens aWindow
with a choice among default Colors. This method can be redefined with other behavior.- Specified by:
mouseReleased
in interfaceMouseListener
-
mousePressed
Deprecated.Implements MouseListener.mousePressed. NoAction
is performed here.- Specified by:
mousePressed
in interfaceMouseListener
-
mouseClicked
Deprecated.Implements MouseListener.mouseClicked. NoAction
is performed here.- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
Deprecated.Implements MouseListener.mouseEntered. NoAction
is performed here.- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
Deprecated.Implements MouseListener.mouseExited. NoAction
is performed here.- Specified by:
mouseExited
in interfaceMouseListener
-
getComponent
Deprecated. -
getCellEditorValue
Deprecated. -
isCellEditable
Deprecated. -
shouldSelectCell
Deprecated. -
stopCellEditing
public boolean stopCellEditing()Deprecated. -
cancelCellEditing
public void cancelCellEditing()Deprecated.
-