Class mheg5.OBJ.Button
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mheg5.OBJ.Button

java.lang.Object
   |
   +----mheg5.UTL.ListNode
           |
           +----mheg5.REF.ObjectRef
                   |
                   +----mheg5.OBJ.Root
                           |
                           +----mheg5.OBJ.Ingredient
                                   |
                                   +----mheg5.OBJ.Presentable
                                           |
                                           +----mheg5.OBJ.Visible
                                                   |
                                                   +----mheg5.OBJ.Button

public class Button
extends Visible
implements AIButton, AIInteractible

Variable Index

 o buttonColour
Own exchanged attribute ButtonColour
 o eventDeselect
 o eventSelect
 o ia
 o selectionStatus
Internal attribute SelectionStatus

Constructor Index

 o Button()

Method Index

 o CheckEvent(MhegEvent)
 o Deselect()
Deselect
 o Deselection()
Deselection
 o DisplayFeedback(boolean, Color)
 o GetHighLightStatus()
 o GetHighlightStatus(BooleanVariable)
 o GetInteractionStatus(BooleanVariable)
GetInteractionStatus
 o Interaction(int, int)
Interaction This behaviour is not defined for the Button class.
 o NotifyCursorEnter()
 o NotifyCursorLeave()
 o NotifyRawInputOldEvent(Event)
public void NotifyRawInput( int rawCode, KeyEvent key_event) { System.out.println("Warning: Button.NotifyRawInput(" + rawCode + ") called.
 o RegisterLink(Link)
 o Select()
Select
 o Selection()
Selection
 o SetHighlightStatus(boolean)
 o SetInteractionStatus(boolean)
SetInteractionStatus
 o SetInternalAttributes()
Set up the internal attributes.

Variables

 o buttonColour
  public Color buttonColour
Own exchanged attribute ButtonColour
 o selectionStatus
  public boolean selectionStatus
Internal attribute SelectionStatus
 o eventSelect
  protected final static MhegEvent eventSelect
 o eventDeselect
  protected final static MhegEvent eventDeselect
 o ia
  public Interactible ia

Constructors

 o Button
  public Button()

Methods

 o RegisterLink
  public void RegisterLink(Link link)
Overrides:
RegisterLink in class Root
 o CheckEvent
  public void CheckEvent(MhegEvent event)
Overrides:
CheckEvent in class Root
 o Interaction
  public void Interaction(int mouse_x,
                          int mouse_y)
Interaction This behaviour is not defined for the Button class. NOTE - As a result, the Button class shall not generate any InteractionCompleted event.
 o Selection
  public void Selection()
Selection
 o Deselection
  public void Deselection()
Deselection
 o SetInternalAttributes
  public void SetInternalAttributes()
Set up the internal attributes.
Overrides:
SetInternalAttributes in class Visible
 o SetInteractionStatus
  public void SetInteractionStatus(boolean newStatus)
SetInteractionStatus
 o GetInteractionStatus
  public void GetInteractionStatus(BooleanVariable statusVar)
GetInteractionStatus
 o Select
  public void Select()
Select
 o Deselect
  public void Deselect()
Deselect
 o SetHighlightStatus
  public void SetHighlightStatus(boolean newStatus)
 o GetHighlightStatus
  public void GetHighlightStatus(BooleanVariable statusVar)
 o DisplayFeedback
  public void DisplayFeedback(boolean highlight_flag,
                              Color highlightRefColour)
 o NotifyCursorEnter
  public void NotifyCursorEnter()
 o NotifyCursorLeave
  public void NotifyCursorLeave()
 o NotifyRawInputOldEvent
  public void NotifyRawInputOldEvent(Event event)
public void NotifyRawInput( int rawCode, KeyEvent key_event) { System.out.println("Warning: Button.NotifyRawInput(" + rawCode + ") called. This point should never be reached."); }
 o GetHighLightStatus
  public boolean GetHighLightStatus()

All Packages  Class Hierarchy  This Package  Previous  Next  Index