Class HtmlController

java.lang.Object
org.loboevolution.html.renderer.HtmlController

public class HtmlController extends Object

HtmlController class.

  • Constructor Details

    • HtmlController

      public HtmlController()
  • Method Details

    • onChange

      public boolean onChange(ModelNode node)

      onChange.

      Parameters:
      node - a ModelNode object.
      Returns:
      a boolean.
    • onContextMenu

      public boolean onContextMenu(ModelNode node, MouseEvent event, int x, int y)

      onContextMenu.

      Parameters:
      node - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      Returns:
      a boolean.
    • onDoubleClick

      public boolean onDoubleClick(ModelNode node, MouseEvent event, int x, int y)

      onDoubleClick.

      Parameters:
      node - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      Returns:
      True to propagate further, false if consumed.
    • onEnterPressed

      public boolean onEnterPressed(ModelNode node)

      onEnterPressed.

      Parameters:
      node - a ModelNode object.
      Returns:
      True to propagate further and false if the event was consumed.
    • onMouseClick

      public boolean onMouseClick(ModelNode node, MouseEvent event, int x, int y)

      onMouseClick.

      Parameters:
      node - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      Returns:
      True to propagate further and false if the event was consumed.
    • onMouseDisarmed

      public boolean onMouseDisarmed(ModelNode node, MouseEvent event)

      onMouseDisarmed.

      Parameters:
      node - a ModelNode object.
      event - a MouseEvent object.
      Returns:
      True to propagate further, false if consumed.
    • onMouseDown

      public boolean onMouseDown(ModelNode node, MouseEvent event, int x, int y)

      onMouseDown.

      Parameters:
      node - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      Returns:
      True to propagate further, false if consumed.
    • onMouseOut

      public void onMouseOut(ModelNode modelNode, MouseEvent event, int x, int y, ModelNode limit)

      onMouseOut.

      Parameters:
      modelNode - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      limit - a ModelNode object.
    • onMouseMoved

      public void onMouseMoved(ModelNode modelNode, MouseEvent event, int x, int y, ModelNode limit)

      onMouseMoved.

      Parameters:
      modelNode - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      limit - a ModelNode object.
    • onMouseOver

      public void onMouseOver(ModelNode modelNode, MouseEvent event, int x, int y, ModelNode limit)

      onMouseOver.

      Parameters:
      modelNode - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      limit - a ModelNode object.
    • onMouseScroll

      public void onMouseScroll(ModelNode node)

      onMouseScroll.

      Parameters:
      node - a ModelNode object.
    • onMouseUp

      public boolean onMouseUp(ModelNode node, MouseEvent event, int x, int y)

      onMouseUp.

      Parameters:
      node - a ModelNode object.
      event - a MouseEvent object.
      x - a Integer object.
      y - a Integer object.
      Returns:
      True to propagate further, false if consumed.
    • onPressed

      public boolean onPressed(ModelNode node, MouseEvent event, int x, int y)

      onPressed.

      Parameters:
      node - The node generating the event.
      event - a MouseEvent 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

      public boolean execute(NodeImpl node, Function f, Event evt)