|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.style.editors.ColorEditor
public class ColorEditor
A color editor button
Constructor Summary | |
---|---|
ColorEditor(org.eclipse.swt.widgets.Composite parent,
org.eclipse.swt.graphics.RGB color)
Create a color editor button |
Method Summary | |
---|---|
org.eclipse.swt.graphics.Color |
getColor(org.eclipse.swt.graphics.Device device)
Get the color, it has to be disposed by the caller |
org.eclipse.swt.widgets.Control |
getControl()
Get the editor control |
org.eclipse.swt.graphics.RGB |
getValue()
Get the value |
protected void |
init(org.eclipse.swt.widgets.Control control)
Determine with and height |
boolean |
isChanged()
States if the value has been changed |
void |
setValue(org.eclipse.swt.graphics.RGB color)
Set the value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorEditor(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.graphics.RGB color)
parent
- the parent compositecolor
- the initial colorMethod Detail |
---|
protected void init(org.eclipse.swt.widgets.Control control)
control
- the parent controlpublic org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.Device device)
device
- the device for the color
public org.eclipse.swt.graphics.RGB getValue()
Editor
getValue
in interface Editor<org.eclipse.swt.graphics.RGB>
Editor.getValue()
public void setValue(org.eclipse.swt.graphics.RGB color)
Editor
setValue
in interface Editor<org.eclipse.swt.graphics.RGB>
color
- the value to setEditor.setValue(Object)
public org.eclipse.swt.widgets.Control getControl()
Editor
getControl
in interface Editor<org.eclipse.swt.graphics.RGB>
Editor.getControl()
public boolean isChanged()
Editor
isChanged
in interface Editor<org.eclipse.swt.graphics.RGB>
Editor.isChanged()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |