cern::laser::guiplatform::alarms::editors::AlarmColoredEditor Class Reference

Inheritance diagram for cern::laser::guiplatform::alarms::editors::AlarmColoredEditor:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::alarms::editors::AlarmColoredEditor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void initializePropertyEditor (Object obj, String str)
boolean isPaintable ()
void paintValue (Graphics gfx, Rectangle box)

Private Attributes

ColoredEditorHelper colorHelper = null

Detailed Description

Author:
bartek

Member Function Documentation

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.

Parameters:
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.

Returns:
True if the class will honor the paintValue 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.

Parameters:
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().


Member Data Documentation

color helper

Referenced by initializePropertyEditor(), isPaintable(), and paintValue().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2