

Public Member Functions | |
| void | initializePropertyEditor (Object obj, String str) |
| boolean | isPaintable () |
| void | paintValue (Graphics gfx, Rectangle box) |
Private Attributes | |
| ColoredEditorHelper | colorHelper = null |
| void cern::laser::guiplatform::alarms::editors::AlarmColoredEditor::initializePropertyEditor | ( | Object | bean, | |
| String | propertyName | |||
| ) | [inline] |
Initializes this PropertyEditor with the bean the property belongs to and the name of the property.
| bean | the bean the property belongs to | |
| propertyName | the name of the property edited by this editor. |
Implements cern::gp::beans::editors::support::BeanDependentPropertyEditor.
References colorHelper.
| boolean cern::laser::guiplatform::alarms::editors::AlarmColoredEditor::isPaintable | ( | ) | [inline] |
Determines whether the class will honor the painValue method.
References colorHelper, and cern::gp::beans::editors::support::ColoredEditorHelper::isPaintable().
| void cern::laser::guiplatform::alarms::editors::AlarmColoredEditor::paintValue | ( | Graphics | gfx, | |
| Rectangle | box | |||
| ) | [inline] |
Paint a representation of the value into a given area of screen real estate. Note that the propertyEditor is responsible for doing its own clipping so that it fits into the given rectangle.
If the PropertyEditor doesn't honor paint requests (see isPaintable) this method should be a silent noop.
| gfx | Graphics object to paint into. | |
| box | Rectangle within graphics object into which we should paint. |
References colorHelper, and cern::gp::beans::editors::support::ColoredEditorHelper::paintValue().
ColoredEditorHelper cern::laser::guiplatform::alarms::editors::AlarmColoredEditor::colorHelper = null [private] |
color helper
Referenced by initializePropertyEditor(), isPaintable(), and paintValue().
1.6.2