- inputHandlerInputHandler inputHandler; 
- Common input handler, must be set upon program initialization for text input, etc. 
- positionBox position; 
- Contains the position of the element.
Should be only modified with functions to ensure consistency. 
- parentElementContainer parent; 
- Points to the container for two-way communication 
- textText text; 
- Contains the text of the element if any.
Should be modified with functions to ensure redraws. 
- sourcestring source; 
- Passed with other event informations when event is caused.
Can be something like the name of the instance. 
- flagsuint flags; 
- Contains various status flags. 
- ENABLE_MOUSE_PRESSenum ENABLE_MOUSE_PRESS; 
- Undocumented in source. 
- IS_CLICKEDenum IS_CLICKED; 
- Undocumented in source. 
- ENABLE_RCLICK_FLAGenum ENABLE_RCLICK_FLAG; 
- Undocumented in source. 
- IS_PRESSEDenum IS_PRESSED; 
- Undocumented in source. 
- IS_CHECKEDenum IS_CHECKED; 
- Undocumented in source. 
- IS_FOCUSEDenum IS_FOCUSED; 
- Undocumented in source. 
- IS_LHSenum IS_LHS; 
- Undocumented in source. 
- customStyleStyleSheet customStyle; 
- Sets a custom style for this element.
If not set, then it'll get the style from it's parent. 
- onDrawvoid delegate() onDraw; 
- Called when drawing is finished 
- onMouseLClickEventDeleg onMouseLClick; 
- Called on left mouseclick released 
- onMouseRClickEventDeleg onMouseRClick; 
- Called on right mouseclick released 
- onMouseMClickEventDeleg onMouseMClick; 
- Called on middle mouseclick released 
- onMouseMoveEventDeleg onMouseMove; 
- Called if mouse is moved on object 
- onMouseScrollEventDeleg onMouseScroll; 
- Called if mouse is scrolled on object 
- lastMousePositionMouseMotionEvent lastMousePosition; 
- Stores the last known mouse position for future reference 
- getTextText getText() 
- Returns the text of this element. 
- setTextvoid setText(Text s) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setTextvoid setText(dstring s) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- stateElementState state [@property setter] 
- Sets whether the element is enabled or not. 
- stateElementState state [@property getter] 
- Returns whether the element is enabled or not. 
- setParentvoid setParent(ElementContainer parent) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- drawvoid draw() 
- Updates the output. Every subclass must override it. 
- getPositionBox getPosition() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setPositionBox setPosition(Box position) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getSourcestring getSource [@property getter] 
- Returns the source string. 
- mousePressEventbool mousePressEvent [@property getter] 
- Returns true if the element will generate events on mouse press and mouse release.
By default, only release is used. 
- mousePressEventbool mousePressEvent [@property setter] 
- Returns true if the element will generate events on mouse press and mouse release.
By default, only release is used. 
- getStyleSheetStyleSheet getStyleSheet() 
- Returns the next available StyleSheet. 
- focusGivenvoid focusGiven() 
- Called when an object receives focus. 
- focusTakenvoid focusTaken() 
- Called when an object loses focus. 
- cycleFocusint cycleFocus(int direction) 
- Cycles the focus on a single element.
Returns -1 if end is reached, or the number of remaining elements that
are cycleable in the direction. 
- passKeyvoid passKey(uint keyCode, ubyte mod) 
- Passes key events to the focused element when not in text editing mode. 
- isFocusedbool isFocused [@property getter] 
- Returns whether the element is focused 
- isPressedbool isPressed [@property getter] 
- Returns whether the element is pressed 
- isCheckedbool isChecked [@property getter] 
- Returns whether the element is checked 
- isCheckedbool isChecked [@property setter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- passMCEvoid passMCE(MouseEventCommons mec, MouseClickEvent mce) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- passMMEvoid passMME(MouseEventCommons mec, MouseMotionEvent mme) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- passMWEvoid passMWE(MouseEventCommons mec, MouseWheelEvent mwe) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
A simple label used on GUI elements to annotate things.