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

Class mheg5.OBJ.HyperText

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

public class HyperText
extends Text
implements AIHyperText, AIInteractible

Variable Index

 o ia
Needed by every interactable
 o LastAnchorFired
Own internal attribute LastAnchorFired

Constructor Index

 o HyperText()
Constructor for a EntryField Object

Method Index

 o Activation()
Activation
 o CheckEvent(MhegEvent)
Check the events of this class
 o Deactivation()
Deactivation
 o Destruction()
Destruction
 o DisplayFeedback(boolean, Color)
DisplayFeedback
(from AIInteractible)
 o GetHighlightStatus(BooleanVariable)
Get Highlight status
(from AIInteractible)
 o GetInteractionStatus(BooleanVariable)
Get interaction status
(from AIInteractible)
 o GetLastAnchorFired(OctetStringVar)
GetLastAnchor­Fired (LastAnchor­FiredVar)
 o Interaction(int, int)
Internal behaviour Interaction
 o NotifyCursorEnter()
Notify cursor enter
(from AIInteractible)
 o NotifyCursorLeave()
Notify cursor leave
(from AIInteractible)
 o NotifyRawInputOldEvent(Event)
public void NotifyRawInput( int rawCode , KeyEvent key_event) { if(key_event == null) return; int keyCode = key_event.getKeyCode(); String keyText = key_event.getKeyText(keyCode); System.out.println(" HyperText.NotifyRawInput{" + ObjectIdentifier.objectNumber + "}(keyEvent.keyText = '" + keyText + "'"); return; }
 o Preparation()
 o RegisterLink(Link)
 o SetHighlightStatus(boolean)
Set Highlight status
(from AIInteractible)
 o SetInteractionStatus(boolean)
Set up interaction status
(from AIInteractible)
 o SetInternalAttributes()
Setup of internal attributes of this class

Variables

 o LastAnchorFired
  public String LastAnchorFired
Own internal attribute LastAnchorFired
 o ia
  public Interactible ia
Needed by every interactable

Constructors

 o HyperText
  public HyperText()
Constructor for a EntryField Object

Methods

 o RegisterLink
  public void RegisterLink(Link link)
Overrides:
RegisterLink in class Root
 o CheckEvent
  public void CheckEvent(MhegEvent event)
Check the events of this class
Parameters:
event - the MhegEvent
Overrides:
CheckEvent in class Root
See Also:
MhegEvent
 o Interaction
  public void Interaction(int mouse_x,
                          int mouse_y)
Internal behaviour Interaction
 o Preparation
  public void Preparation()
Overrides:
Preparation in class Text
 o Destruction
  public void Destruction()
Destruction
Overrides:
Destruction in class Text
 o Activation
  public void Activation()
Activation
Overrides:
Activation in class Text
 o Deactivation
  public void Deactivation()
Deactivation
Overrides:
Deactivation in class Text
 o SetInternalAttributes
  public void SetInternalAttributes()
Setup of internal attributes of this class
Overrides:
SetInternalAttributes in class Text
 o GetLastAnchorFired
  public void GetLastAnchorFired(OctetStringVar ostring)
GetLastAnchor­Fired (LastAnchor­FiredVar)
 o SetInteractionStatus
  public void SetInteractionStatus(boolean newStatus)
Set up interaction status
(from AIInteractible)
 o GetInteractionStatus
  public void GetInteractionStatus(BooleanVariable statusVar)
Get interaction status
(from AIInteractible)
 o SetHighlightStatus
  public void SetHighlightStatus(boolean newStatus)
Set Highlight status
(from AIInteractible)
 o GetHighlightStatus
  public void GetHighlightStatus(BooleanVariable statusVar)
Get Highlight status
(from AIInteractible)
 o DisplayFeedback
  public void DisplayFeedback(boolean highlight_flag,
                              Color highlightRefColour)
DisplayFeedback
(from AIInteractible)
 o NotifyCursorEnter
  public void NotifyCursorEnter()
Notify cursor enter
(from AIInteractible)
 o NotifyCursorLeave
  public void NotifyCursorLeave()
Notify cursor leave
(from AIInteractible)
 o NotifyRawInputOldEvent
  public void NotifyRawInputOldEvent(Event event)
public void NotifyRawInput( int rawCode , KeyEvent key_event) { if(key_event == null) return; int keyCode = key_event.getKeyCode(); String keyText = key_event.getKeyText(keyCode); System.out.println(" HyperText.NotifyRawInput{" + ObjectIdentifier.objectNumber + "}(keyEvent.keyText = '" + keyText + "'"); return; }

All Packages  Class Hierarchy  This Package  Previous  Next  Index