Property handler for overlay plot properties. More...
Public Types | |
enum | PropertyKey { CONTEXT_OVERLAY_PLOT_ID, HEIGHT, WIDTH, TITLE, DRAW_BACKGROUND, BACKGROUND_COLOR, BACKGROUND_OPACITY, BORDER_COLOR, BORDER_WIDTH, DRAW_BORDER, X_AXIS_TITLE, Y_AXIS_TITLE, X_AXIS_RANGE_MIN, X_AXIS_RANGE_MAX, Y_AXIS_RANGE_MIN, Y_AXIS_RANGE_MAX, DRAW_LEGEND, TEXT_COLOR, DRAW_GRID_LINES, DRAW_MARKER_LINE, MARKER_LINE_VALUE, MARKER_LINE_COLOR, AXIS_COLOR, AXIS_GRID_LINES_COLOR } |
List of property keys for OverlayPlotPropertyHandler. More... | |
Public Member Functions | |
OverlayPlotPropertyHandler (PropertySet *propSet) | |
Creates an overlay plot property handler from a given property set propSet. More... | |
Variant | propertyValue (PropertyKey key) const |
Returns the property value for the specified property key. More... | |
void | setPropertyValue (PropertyKey key, Variant data) |
Sets the property key and value to this handlers property set. More... | |
Static Public Member Functions | |
static Str | propertySetClassType () |
Returns the class type of the property set. More... | |
static bool | isValidPropertySet (const PropertySet &propSet) |
Returns true if the specified property set is a valid overlay plot property set. More... | |
Property handler for overlay plot properties.
List of property keys for OverlayPlotPropertyHandler.
cee::ug::OverlayPlotPropertyHandler::OverlayPlotPropertyHandler | ( | PropertySet * | propSet | ) |
Creates an overlay plot property handler from a given property set propSet.
|
static |
Returns true if the specified property set is a valid overlay plot property set.
|
static |
Returns the class type of the property set.
cee::Variant cee::ug::OverlayPlotPropertyHandler::propertyValue | ( | PropertyKey | key | ) | const |
Returns the property value for the specified property key.
Returns an empty Variant if the property key was not found.
void cee::ug::OverlayPlotPropertyHandler::setPropertyValue | ( | PropertyKey | key, |
Variant | data | ||
) |
Sets the property key and value to this handlers property set.
If key exists in the property set, the paired property value is updated to data. Otherwise the key/value pair is added to the property set.