Package org.loboevolution.html.renderer
Class HtmlController
java.lang.Object
org.loboevolution.html.renderer.HtmlController
HtmlController class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
onChange.boolean
onContextMenu
(ModelNode node, MouseEvent event, int x, int y) onContextMenu.boolean
onDoubleClick
(ModelNode node, MouseEvent event, int x, int y) onDoubleClick.boolean
onEnterPressed
(ModelNode node) onEnterPressed.boolean
onMouseClick
(ModelNode node, MouseEvent event, int x, int y) onMouseClick.boolean
onMouseDisarmed
(ModelNode node, MouseEvent event) onMouseDisarmed.boolean
onMouseDown
(ModelNode node, MouseEvent event, int x, int y) onMouseDown.void
onMouseMoved
(ModelNode modelNode, MouseEvent event, int x, int y, ModelNode limit) onMouseMoved.void
onMouseOut
(ModelNode modelNode, MouseEvent event, int x, int y, ModelNode limit) onMouseOut.void
onMouseOver
(ModelNode modelNode, MouseEvent event, int x, int y, ModelNode limit) onMouseOver.void
onMouseScroll
(ModelNode node) onMouseScroll.boolean
onMouseUp
(ModelNode node, MouseEvent event, int x, int y) onMouseUp.boolean
onPressed
(ModelNode node, MouseEvent event, int x, int y) onPressed.
-
Constructor Details
-
HtmlController
public HtmlController()
-
-
Method Details
-
onChange
onChange.
- Parameters:
node
- aModelNode
object.- Returns:
- a boolean.
-
onContextMenu
onContextMenu.
- Parameters:
node
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.- Returns:
- a boolean.
-
onDoubleClick
onDoubleClick.
- Parameters:
node
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.- Returns:
- True to propagate further, false if consumed.
-
onEnterPressed
onEnterPressed.
- Parameters:
node
- aModelNode
object.- Returns:
- True to propagate further and false if the event was consumed.
-
onMouseClick
onMouseClick.
- Parameters:
node
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.- Returns:
- True to propagate further and false if the event was consumed.
-
onMouseDisarmed
onMouseDisarmed.
- Parameters:
node
- aModelNode
object.event
- aMouseEvent
object.- Returns:
- True to propagate further, false if consumed.
-
onMouseDown
onMouseDown.
- Parameters:
node
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.- Returns:
- True to propagate further, false if consumed.
-
onMouseOut
onMouseOut.
- Parameters:
modelNode
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.limit
- aModelNode
object.
-
onMouseMoved
onMouseMoved.
- Parameters:
modelNode
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.limit
- aModelNode
object.
-
onMouseOver
onMouseOver.
- Parameters:
modelNode
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.limit
- aModelNode
object.
-
onMouseScroll
onMouseScroll.
- Parameters:
node
- aModelNode
object.
-
onMouseUp
onMouseUp.
- Parameters:
node
- aModelNode
object.event
- aMouseEvent
object.x
- aInteger
object.y
- aInteger
object.- Returns:
- True to propagate further, false if consumed.
-
onPressed
onPressed.
- Parameters:
node
- The node generating the event.event
- aMouseEvent
object.x
- For images only, x coordinate of mouse click.y
- For images only, y coordinate of mouse click.- Returns:
- True to propagate further, false if consumed.
-
execute
-