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

Class mheg5.OBJ.Slider

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

public class Slider
extends Visible
implements AISlider, AIInteractible

Variable Index

 o ia
Needed by every interactible
 o InitialPortion
Own exchanged attribute InitialPortion
 o InitialValue
Own exchanged attribute InitialValue
 o MaxValue
Own exchanged attribute MaxValue
 o MinValue
Own exchanged attribute MinValue
 o Orientation
Own exchanged attribute Orientation
 o ORIENTATION_DOWN
 o ORIENTATION_LEFT
 o ORIENTATION_RIGHT
 o ORIENTATION_UP
 o Portion
Own internal attribute Portion
 o SLIDER_STYLE_NORMAL
 o SLIDER_STYLE_PROPORTIONAL
 o SLIDER_STYLE_THERMOMETER
 o SliderColour
Own exchanged attribute SliderColour
 o SliderStyle
Own exchanged attribute SliderStyle
 o SliderValue
Own internal attribute SliderValue
 o StepSize
Own exchanged attribute StepSize

Constructor Index

 o Slider()
Constructor for a Slider 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)
 o GetHighlightStatus(BooleanVariable)
 o GetInteractionStatus(BooleanVariable)
Get interaction status
 o GetPortion(IntegerVariable)
GetPortion (PortionVar)
 o GetSliderValue(IntegerVariable)
GetSliderValue (SliderValueVar)
 o Interaction(int, int)
Interaction
 o NotifyCursorEnter()
 o NotifyCursorLeave()
 o NotifyMouseDragged(int, int)
 o NotifyMouseReleased(int, int)
 o NotifyRawInputOldEvent(Event)
public void NotifyRawInput( int rawCode, KeyEvent key_event) { System.out.println("Warning: Slider.NotifyRawInput("+rawCode+ ") called.
 o Preparation()
Preparation
 o RegisterLink(Link)
 o SetHighlightStatus(boolean)
 o SetInteractionStatus(boolean)
Set up interaction status
 o SetInternalAttributes()
Setup of internal attributes of this class
 o SetPortion(int)
SetPortion (NewPortion)
 o SetSliderValue(int)
SetSliderValue (NewSliderValue)
 o Step(int)
Step (NbOfSteps)

Variables

 o Orientation
  public int Orientation
Own exchanged attribute Orientation
 o InitialValue
  public int InitialValue
Own exchanged attribute InitialValue
 o MinValue
  public int MinValue
Own exchanged attribute MinValue
 o MaxValue
  public int MaxValue
Own exchanged attribute MaxValue
 o InitialPortion
  public int InitialPortion
Own exchanged attribute InitialPortion
 o StepSize
  public int StepSize
Own exchanged attribute StepSize
 o SliderStyle
  public int SliderStyle
Own exchanged attribute SliderStyle
 o SliderColour
  public Color SliderColour
Own exchanged attribute SliderColour
 o SliderValue
  public int SliderValue
Own internal attribute SliderValue
 o Portion
  public int Portion
Own internal attribute Portion
 o ORIENTATION_LEFT
  public final static int ORIENTATION_LEFT
 o ORIENTATION_RIGHT
  public final static int ORIENTATION_RIGHT
 o ORIENTATION_UP
  public final static int ORIENTATION_UP
 o ORIENTATION_DOWN
  public final static int ORIENTATION_DOWN
 o SLIDER_STYLE_NORMAL
  public final static int SLIDER_STYLE_NORMAL
 o SLIDER_STYLE_THERMOMETER
  public final static int SLIDER_STYLE_THERMOMETER
 o SLIDER_STYLE_PROPORTIONAL
  public final static int SLIDER_STYLE_PROPORTIONAL
 o ia
  public Interactible ia
Needed by every interactible

Constructors

 o Slider
  public Slider()
Constructor for a Slider 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)
Interaction
 o NotifyMouseDragged
  public void NotifyMouseDragged(int mouse_x,
                                 int mouse_y)
 o NotifyMouseReleased
  public void NotifyMouseReleased(int mouse_x,
                                  int mouse_y)
 o Preparation
  public void Preparation()
Preparation
Overrides:
Preparation in class Visible
 o Destruction
  public void Destruction()
Destruction
Overrides:
Destruction in class Visible
 o Activation
  public void Activation()
Activation
Overrides:
Activation in class Visible
 o Deactivation
  public void Deactivation()
Deactivation
Overrides:
Deactivation in class Visible
 o SetInternalAttributes
  public void SetInternalAttributes()
Setup of internal attributes of this class
Overrides:
SetInternalAttributes in class Visible
 o Step
  public void Step(int number_of_steps)
Step (NbOfSteps)
 o SetSliderValue
  public void SetSliderValue(int _value)
SetSliderValue (NewSliderValue)
 o GetSliderValue
  public void GetSliderValue(IntegerVariable var)
GetSliderValue (SliderValueVar)
 o SetPortion
  public void SetPortion(int _new_portion)
SetPortion (NewPortion)
 o GetPortion
  public void GetPortion(IntegerVariable var)
GetPortion (PortionVar)
 o SetInteractionStatus
  public void SetInteractionStatus(boolean newStatus)
Set up interaction status
 o GetInteractionStatus
  public void GetInteractionStatus(BooleanVariable statusVar)
Get interaction status
 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: Slider.NotifyRawInput("+rawCode+ ") called. This point should never be reached!"); if(key_event == null) return; int keyCode = key_event.getKeyCode(); String keyText = key_event.getKeyText(keyCode); System.out.println(" Slider.NotifyRawInput{" + ObjectIdentifier.objectNumber + "}(keyEvent.keyText = '" + keyText + "'"); return; }

All Packages  Class Hierarchy  This Package  Previous  Next  Index