Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.services.swingx

Class XColorPicker

com.gentleware.services.swingx.XColorPicker

public class XColorPicker


XColorPicker shows three color panels (colors, greyscales, recently used colors) and fires an action event whenever the user picks a new color.


 Attribute Summary
private String  _configurationKeyRecentColors
 
private JPanel  _currentColorPanel
 
private JButton  _customButton
 
arrow_up
 

 Association Summary
private XColorPanel  _colorPanel
 
private Color  _currentColor
 
private XColorPanel  _grayPanel
 
private ActionListener  _listener
 
private ActionListener  _panelListener
 
private XColorPanel  _recentPanel
 
arrow_up
 

 Constructor Summary
public   XColorPicker(ActionListener listener, Color currentColor, String configurationKeyRecentColors)
 
arrow_up
 

 Method Summary
public Color   getCurrentColor()
 
public String   getRecentColors()
 
private void   handleColorChoosen(Color color, int modifiers)
 
private void   layoutComponents()
 
public void   setActionListener(ActionListener actionListener)
 
public void   setCurrentColor(Color color)
 
public void   setEnabled(boolean enabled)
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 18
gentleware-imported-package-statement-line-number 1
 

 Attribute Detail

_configurationKeyRecentColors

private String _configurationKeyRecentColors

arrow_up


_currentColorPanel

private JPanel _currentColorPanel

arrow_up


_customButton

private JButton _customButton

arrow_up
 Association Detail

_colorPanel

private XColorPanel _colorPanel

arrow_up


_currentColor

private Color _currentColor

arrow_up


_grayPanel

private XColorPanel _grayPanel

arrow_up


_listener

private ActionListener _listener

arrow_up


_panelListener

private ActionListener _panelListener

arrow_up


_recentPanel

private XColorPanel _recentPanel

arrow_up
 Constructor Detail

XColorPicker

public com.gentleware.services.swingx.XColorPicker XColorPicker(ActionListener listener, Color currentColor, String configurationKeyRecentColors)

Parameters:
listener -
currentColor -
configurationKeyRecentColors -
Returns:
arrow_up
 Method Detail

getCurrentColor

public Color getCurrentColor()

Returns:
arrow_up


getRecentColors

public String getRecentColors()

Returns:
arrow_up


handleColorChoosen

private void handleColorChoosen(Color color, int modifiers)

Parameters:
color -
modifiers -
arrow_up


layoutComponents

private void layoutComponents()

arrow_up


setActionListener

public void setActionListener(ActionListener actionListener)

Parameters:
actionListener -
arrow_up


setCurrentColor

public void setCurrentColor(Color color)

Parameters:
color -
arrow_up


setEnabled

public void setEnabled(boolean enabled)

Parameters:
enabled -
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.