| PREV CLASS Documentation homepage NEXT CLASS |
IlvObject
|
+--IlvEmptyView
|
+--IlvResizableView
|
+--IlvAbstractView
IlvAbstractView is an extension of IlvResizableView
and is the superclass of all concrete view implementations. It contains a
single child subview, an IlvGlassView, to capture input events. | Constructor Summary | |
|---|---|
IlvAbstractView(left, top, width, height, namespace)
|
|
| Method Summary | |
|---|---|
childrenToHTML()
Creates the HTML for this component's children. |
|
getCursor()
Returns the cursor of the view. |
|
getGlassView()
Returns the IlvGlassView that is charged of managing events
for this IlvAbstractView. |
|
keyPress(e)
Handles Key press events |
|
mouseDown(e)
Handles Mouse down events. |
|
mouseDrag(e)
Handles Mouse drag events. |
|
mouseMove(e)
Handles Mouse move events. |
|
mouseOut(e)
Handles Mouse out events. |
|
mouseOver(e)
Handles Mouse over events. |
|
mouseUp(e)
Handles Mouse up events. |
|
setChildrenBounds(left, top, width, height)
Changes the size of this view's children. |
|
setCursor(cursor)
Changes the cursor of the view. |
|
| Constructor Detail |
IlvAbstractView(left, top, width, height, namespace)
| Method Detail |
childrenToHTML()
IlvAbstractView's internal
implementation and is not a public API. getCursor()
getGlassView()
IlvGlassView that is charged of managing events
for this IlvAbstractView.
keyPress(e)
e - The key event with the following read-only properties:
e.type: A string representing the event type. e.keyCode: The code of the key.
mouseDown(e)
e - The mouse event with 8 read-only properties:
e.type: A string representing the event type. e.mouseX: The mouse coordinates relative to the view. e.mouseY: The mouse coordinates relative to the view. e.screenX: The absolute mouse coordinates in the screen. e.screenY: The absolute mouse coordinates in the screen. e.altKey: A Boolean, true when the ALT key is pressed. e.ctrlKey: A Boolean, true when the CONTROL key is pressed. e.shiftKey: A Boolean, true when the SHIFT key is pressed.
mouseDrag(e)
e - The mouse event with 8 read-only properties:
e.type: A string representing the event type. e.mouseX: The mouse coordinates relative to the view. e.mouseY: The mouse coordinates relative to the view. e.screenX: The absolute mouse coordinates in the screen. e.screenY: The absolute mouse coordinates in the screen. e.altKey: A Boolean, true when the ALT key is pressed. e.ctrlKey: A Boolean, true when the CONTROL key is pressed. e.shiftKey: A Boolean, true when the SHIFT key is pressed.
mouseMove(e)
e - The mouse event with 8 read-only properties:
e.type: A string representing the event type. e.mouseX: The mouse coordinates relative to the view. e.mouseY: The mouse coordinates relative to the view. e.screenX: The absolute mouse coordinates in the screen. e.screenY: The absolute mouse coordinates in the screen. e.altKey: A Boolean, true when the ALT key is pressed. e.ctrlKey: A Boolean, true when the CONTROL key is pressed. e.shiftKey: A Boolean, true when the SHIFT key is pressed.
mouseOut(e)
e - The mouse event with 8 read-only properties:
e.type: A string representing the event type. e.mouseX: The mouse coordinates relative to the view. e.mouseY: The mouse coordinates relative to the view. e.screenX: The absolute mouse coordinates in the screen. e.screenY: The absolute mouse coordinates in the screen. e.altKey: A Boolean, true when the ALT key is pressed. e.ctrlKey: A Boolean, true when the CONTROL key is pressed. e.shiftKey: A Boolean, true when the SHIFT key is pressed.
mouseOver(e)
e - The mouse event with 8 read-only properties:
e.type: A string representing the event type. e.mouseX: The mouse coordinates relative to the view. e.mouseY: The mouse coordinates relative to the view. e.screenX: The absolute mouse coordinates in the screen. e.screenY: The absolute mouse coordinates in the screen. e.altKey: A Boolean, true when the ALT key is pressed. e.ctrlKey: A Boolean, true when the CONTROL key is pressed. e.shiftKey: A Boolean, true when the SHIFT key is pressed.
mouseUp(e)
e - The mouse event with 8 read-only properties:
e.type: A string representing the event type. e.mouseX: The mouse coordinates relative to the view. e.mouseY: The mouse coordinates relative to the view. e.screenX: The absolute mouse coordinates in the screen. e.screenY: The absolute mouse coordinates in the screen. e.altKey: A Boolean, true when the ALT key is pressed. e.ctrlKey: A Boolean, true when the CONTROL key is pressed. e.shiftKey: A Boolean, true when the SHIFT key is pressed.
setChildrenBounds(left, top, width, height)
IlvAbstractView's internal implementation
and is not a public API. left - The absolute x position of the view on the page.top - The absolute y position of the view on the page.width - The width of the view.height - The height of the view.setCursor(cursor)
cursor - The cursor name.| Inherited Methods from IlvResizableView |
| Inherited Methods from IlvEmptyView |
| Inherited Methods from IlvObject |
| PREV CLASS Documentation homepage NEXT CLASS |