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
-
buttonColour
- Own exchanged attribute ButtonColour
-
eventDeselect
-
-
eventSelect
-
-
ia
-
-
selectionStatus
- Internal attribute SelectionStatus
-
Button()
-
-
CheckEvent(MhegEvent)
-
-
Deselect()
- Deselect
-
Deselection()
- Deselection
-
DisplayFeedback(boolean, Color)
-
-
GetHighLightStatus()
-
-
GetHighlightStatus(BooleanVariable)
-
-
GetInteractionStatus(BooleanVariable)
- GetInteractionStatus
-
Interaction(int, int)
- Interaction
This behaviour is not defined for the Button class.
-
NotifyCursorEnter()
-
-
NotifyCursorLeave()
-
-
NotifyRawInputOldEvent(Event)
-
public void NotifyRawInput( int rawCode, KeyEvent key_event)
{
System.out.println("Warning: Button.NotifyRawInput(" + rawCode +
") called.
-
RegisterLink(Link)
-
-
Select()
- Select
-
Selection()
- Selection
-
SetHighlightStatus(boolean)
-
-
SetInteractionStatus(boolean)
- SetInteractionStatus
-
SetInternalAttributes()
- Set up the internal attributes.
buttonColour
public Color buttonColour
- Own exchanged attribute ButtonColour
selectionStatus
public boolean selectionStatus
- Internal attribute SelectionStatus
eventSelect
protected final static MhegEvent eventSelect
eventDeselect
protected final static MhegEvent eventDeselect
ia
public Interactible ia
Button
public Button()
RegisterLink
public void RegisterLink(Link link)
- Overrides:
- RegisterLink in class Root
CheckEvent
public void CheckEvent(MhegEvent event)
- Overrides:
- CheckEvent in class Root
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.
Selection
public void Selection()
- Selection
Deselection
public void Deselection()
- Deselection
SetInternalAttributes
public void SetInternalAttributes()
- Set up the internal attributes.
- Overrides:
- SetInternalAttributes in class Visible
SetInteractionStatus
public void SetInteractionStatus(boolean newStatus)
- SetInteractionStatus
GetInteractionStatus
public void GetInteractionStatus(BooleanVariable statusVar)
- GetInteractionStatus
Select
public void Select()
- Select
Deselect
public void Deselect()
- Deselect
SetHighlightStatus
public void SetHighlightStatus(boolean newStatus)
GetHighlightStatus
public void GetHighlightStatus(BooleanVariable statusVar)
DisplayFeedback
public void DisplayFeedback(boolean highlight_flag,
Color highlightRefColour)
NotifyCursorEnter
public void NotifyCursorEnter()
NotifyCursorLeave
public void NotifyCursorLeave()
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.");
}
GetHighLightStatus
public boolean GetHighLightStatus()
All Packages Class Hierarchy This Package Previous Next Index