|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jgraph.editor.factory.JGraphEditorFactoryMethod
com.jgraph.pad.factory.JGraphpadComboBox.ColorComboFactoryMethod
Provides a factory method to construct a color combo box.
| Field Summary | |
static String |
NAME
Defines the default name for factory methods of this kind. |
protected int |
type
Specifies the type of the color combo box. |
| Fields inherited from class com.jgraph.editor.factory.JGraphEditorFactoryMethod |
name |
| Constructor Summary | |
JGraphpadComboBox.ColorComboFactoryMethod()
Constructs a color combo box of type JGraphpadComboBox.TYPE_BACKGROUND using
NAME. |
|
JGraphpadComboBox.ColorComboFactoryMethod(String name,
int type)
Constructs a color combo box of the specified type. |
|
| Method Summary | |
Component |
createInstance(Node configuration)
Returns a new component for the specified configuration. |
protected void |
setColor(Map m,
Color color)
Sets the specified color in map according to the type
of the combo box. |
| Methods inherited from class com.jgraph.editor.factory.JGraphEditorFactoryMethod |
getName, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String NAME
protected int type
| Constructor Detail |
public JGraphpadComboBox.ColorComboFactoryMethod()
JGraphpadComboBox.TYPE_BACKGROUND using
NAME.
public JGraphpadComboBox.ColorComboFactoryMethod(String name,
int type)
type - The type of the combo box to be created.| Method Detail |
public Component createInstance(Node configuration)
JGraphEditorFactoryMethod
createInstance in class JGraphEditorFactoryMethodconfiguration - The configuration to create the component with.
protected void setColor(Map m,
Color color)
map according to the type
of the combo box.
m - The map to set the color in.color - The color to be set.
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||