Skip to main content

%ZEN.Component.colorPane

class %ZEN.Component.colorPane extends %ZEN.Component.component

Color selection pane. This component displays a grid containing various colored cells.

Property Inventory

Method Inventory

Properties

property currCol as %ZEN.Datatype.integer [ InitialExpression = 0 ];
Column of current selected cell: 0-based.
Property methods: currColDisplayToLogical(), currColGet(), currColIsValid(), currColLogicalToDisplay(), currColLogicalToOdbc(), currColNormalize(), currColSet()
property currRow as %ZEN.Datatype.integer [ InitialExpression = 0 ];
Row of current selected cell: 0-based.
Property methods: currRowDisplayToLogical(), currRowGet(), currRowIsValid(), currRowLogicalToDisplay(), currRowLogicalToOdbc(), currRowNormalize(), currRowSet()
property currSlice as %ZEN.Datatype.integer [ InitialExpression = 0 ];
Current selected slice: 0-based.
Property methods: currSliceDisplayToLogical(), currSliceGet(), currSliceIsValid(), currSliceLogicalToDisplay(), currSliceLogicalToOdbc(), currSliceNormalize(), currSliceSet()
property face as %ZEN.Datatype.integer [ InitialExpression = 1 ];
Which view of the color cube is showing: 1,2, or 3.
Property methods: faceDisplayToLogical(), faceGet(), faceIsValid(), faceLogicalToDisplay(), faceLogicalToOdbc(), faceNormalize(), faceSet()
property onchange as %ZEN.Datatype.eventHandler;
onchange event handler: This event is fired when the user selects a new color.
Property methods: onchangeDisplayToLogical(), onchangeGet(), onchangeIsValid(), onchangeLogicalToDisplay(), onchangeLogicalToOdbc(), onchangeNormalize(), onchangeSet()
property ondblclick as %ZEN.Datatype.eventHandler;
ondblclick event handler: This event is fired when the mouse is double-clicked.
Property methods: ondblclickDisplayToLogical(), ondblclickGet(), ondblclickIsValid(), ondblclickLogicalToDisplay(), ondblclickLogicalToOdbc(), ondblclickNormalize(), ondblclickSet()
property value as %ZEN.Datatype.string [ InitialExpression = "#FFFFFF" ];
Current color selection.
Property methods: valueDisplayToLogical(), valueGet(), valueIsValid(), valueLogicalToDisplay(), valueLogicalToOdbc(), valueNormalize(), valueSet()

Methods

method %DrawHTML()
Inherited description: Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
clientmethod dblclickHandler() [ Language = javascript ]
Handler for double-clicks.
final clientmethod getValue() as %String [ Language = javascript ]
Client-side method to return the value associated with this control.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod renderContents() [ Language = javascript ]
Client-method to draw contents of this pane.
clientmethod renderIndicator() [ Language = javascript ]
Client-method to draw contents of the current color indicator.
clientmethod rgbChanged() [ Language = javascript ]
User has entered a new rgb value.
clientmethod rotateCube(direction) [ Language = javascript ]
User click on a rotate button
clientmethod selectCell(r, c) [ Language = javascript ]
User click on a cell.
clientmethod selectSlice(slice) [ Language = javascript ]
User click on a new slice
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
final clientmethod setValue(value) [ Language = javascript ]
Client-side method to set the value associated with this control.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab