rero.dck.items

Class ColorInput

public class ColorInput extends SuperInput implements ActionListener

Nested Class Summary
protected static classColorInput.SolidIcon
Field Summary
protected JButtonbutton
protected ColorInput.SolidIconcolorIcon
protected Colorinitial
Constructor Summary
ColorInput(String _variable, Color _initial, String text, char mnemonic)
Method Summary
voidactionPerformed(ActionEvent ev)
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)

Field Detail

button

protected JButton button

colorIcon

protected ColorInput.SolidIcon colorIcon

initial

protected Color initial

Constructor Detail

ColorInput

public ColorInput(String _variable, Color _initial, String text, char mnemonic)

Method Detail

actionPerformed

public void actionPerformed(ActionEvent ev)

getComponent

public JComponent getComponent()

getEstimatedWidth

public int getEstimatedWidth()

refresh

public void refresh()

save

public void save()

setAlignWidth

public void setAlignWidth(int width)