| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport
|
+--com.togethersoft.openapi.ide.inspector.util.editors.color.SwingColorEditor
Represents editor which allows to select color.
| Fields inherited from class com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport |
MEDIUM_DIMENSION, panel, SMALL_DIMENSION |
| Constructor Summary | |
SwingColorEditor()Creates this editor. | |
| Method Summary | |
void | editorChangeValue(Object obj)Changes value of this editor. |
String | getAsText()Returns color in a String representation. |
String | getJavaInitializationString() |
SwingColorEditor | getSwingColorEditor()Returns this editor. |
boolean | isPaintable()Checks whether this editor is paintable. |
void | paintValue(Graphics g, Rectangle rectangle)Paints color chooser as the small colored rectangle. |
void | setAsText(String s)Sets RGB color value as a number string. |
void | setValue(Object obj)Sets value to this editor as an Object. |
static Color | showColorChooserDialog(Color color)Shows dialog with this editor and buttons. |
| Methods inherited from class com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCustomEditor, init, removeCellEditorListener, setAlignment, supportsCustomEditor |
| Methods inherited from class java.beans.PropertyEditorSupport |
getValue, getTags, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |
| Constructor Detail |
public SwingColorEditor()
| Method Detail |
public void editorChangeValue(Object obj)
public String getAsText()
public String getJavaInitializationString()
public SwingColorEditor getSwingColorEditor()
public boolean isPaintable()
public void paintValue(Graphics g, Rectangle rectangle)
public void setAsText(String s)
throws java.lang.IllegalArgumentException
public void setValue(Object obj)
public static Color showColorChooserDialog(Color color)
| Association Links |
to Class javax.swing.JTextField
to Class javax.swing.JButton
to Class java.awt.Color
to Class com.togethersoft.openapi.ide.inspector.util.editors.color.SwingColorEditor.ChooserComboButton
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||