|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.inet.editor.ColorList
public class ColorList
This class presends a List for selection a color value.
Constructor Summary | |
---|---|
ColorList()
|
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener l)
Adds an action listener to the selection component |
java.awt.Color |
getColor()
Get the current color value that is selected. |
javax.swing.JMenuItem[] |
getMenuItems()
Returns a list of available color menu items |
java.awt.Color |
getSelectionColor()
Gets the current selection color. |
void |
mouseClickedCL()
Executes when the color button was pressed |
void |
setSelectionColor(java.awt.Color c)
Sets the color of the current selection |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorList()
Method Detail |
---|
public java.awt.Color getColor()
public void setSelectionColor(java.awt.Color c)
c
- the color of the current selectionpublic java.awt.Color getSelectionColor()
public void addActionListener(java.awt.event.ActionListener l)
l
- the listener to addpublic void mouseClickedCL()
public javax.swing.JMenuItem[] getMenuItems()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |