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
-
ia
- Needed by every interactible
-
InitialPortion
-
Own exchanged attribute InitialPortion
-
InitialValue
-
Own exchanged attribute InitialValue
-
MaxValue
-
Own exchanged attribute MaxValue
-
MinValue
-
Own exchanged attribute MinValue
-
Orientation
-
Own exchanged attribute Orientation
-
ORIENTATION_DOWN
-
-
ORIENTATION_LEFT
-
-
ORIENTATION_RIGHT
-
-
ORIENTATION_UP
-
-
Portion
-
Own internal attribute Portion
-
SLIDER_STYLE_NORMAL
-
-
SLIDER_STYLE_PROPORTIONAL
-
-
SLIDER_STYLE_THERMOMETER
-
-
SliderColour
-
Own exchanged attribute SliderColour
-
SliderStyle
-
Own exchanged attribute SliderStyle
-
SliderValue
-
Own internal attribute SliderValue
-
StepSize
-
Own exchanged attribute StepSize
-
Slider()
- Constructor for a Slider Object
-
Activation()
- Activation
-
CheckEvent(MhegEvent)
- Check the events of this class
-
Deactivation()
- Deactivation
-
Destruction()
- Destruction
-
DisplayFeedback(boolean, Color)
-
-
GetHighlightStatus(BooleanVariable)
-
-
GetInteractionStatus(BooleanVariable)
- Get interaction status
-
GetPortion(IntegerVariable)
- GetPortion (PortionVar)
-
GetSliderValue(IntegerVariable)
- GetSliderValue (SliderValueVar)
-
Interaction(int, int)
- Interaction
-
NotifyCursorEnter()
-
-
NotifyCursorLeave()
-
-
NotifyMouseDragged(int, int)
-
-
NotifyMouseReleased(int, int)
-
-
NotifyRawInputOldEvent(Event)
- public void NotifyRawInput( int rawCode, KeyEvent key_event)
{
System.out.println("Warning: Slider.NotifyRawInput("+rawCode+
") called.
-
Preparation()
- Preparation
-
RegisterLink(Link)
-
-
SetHighlightStatus(boolean)
-
-
SetInteractionStatus(boolean)
- Set up interaction status
-
SetInternalAttributes()
- Setup of internal attributes of this class
-
SetPortion(int)
- SetPortion (NewPortion)
-
SetSliderValue(int)
- SetSliderValue (NewSliderValue)
-
Step(int)
- Step (NbOfSteps)
Orientation
public int Orientation
- Own exchanged attribute Orientation
InitialValue
public int InitialValue
- Own exchanged attribute InitialValue
MinValue
public int MinValue
- Own exchanged attribute MinValue
MaxValue
public int MaxValue
- Own exchanged attribute MaxValue
InitialPortion
public int InitialPortion
- Own exchanged attribute InitialPortion
StepSize
public int StepSize
- Own exchanged attribute StepSize
SliderStyle
public int SliderStyle
- Own exchanged attribute SliderStyle
SliderColour
public Color SliderColour
- Own exchanged attribute SliderColour
SliderValue
public int SliderValue
- Own internal attribute SliderValue
Portion
public int Portion
- Own internal attribute Portion
ORIENTATION_LEFT
public final static int ORIENTATION_LEFT
ORIENTATION_RIGHT
public final static int ORIENTATION_RIGHT
ORIENTATION_UP
public final static int ORIENTATION_UP
ORIENTATION_DOWN
public final static int ORIENTATION_DOWN
SLIDER_STYLE_NORMAL
public final static int SLIDER_STYLE_NORMAL
SLIDER_STYLE_THERMOMETER
public final static int SLIDER_STYLE_THERMOMETER
SLIDER_STYLE_PROPORTIONAL
public final static int SLIDER_STYLE_PROPORTIONAL
ia
public Interactible ia
- Needed by every interactible
Slider
public Slider()
- Constructor for a Slider Object
RegisterLink
public void RegisterLink(Link link)
- Overrides:
- RegisterLink in class Root
CheckEvent
public void CheckEvent(MhegEvent event)
- Check the events of this class
- Parameters:
- event - the MhegEvent
- Overrides:
- CheckEvent in class Root
- See Also:
- MhegEvent
Interaction
public void Interaction(int mouse_x,
int mouse_y)
- Interaction
NotifyMouseDragged
public void NotifyMouseDragged(int mouse_x,
int mouse_y)
NotifyMouseReleased
public void NotifyMouseReleased(int mouse_x,
int mouse_y)
Preparation
public void Preparation()
- Preparation
- Overrides:
- Preparation in class Visible
Destruction
public void Destruction()
- Destruction
- Overrides:
- Destruction in class Visible
Activation
public void Activation()
- Activation
- Overrides:
- Activation in class Visible
Deactivation
public void Deactivation()
- Deactivation
- Overrides:
- Deactivation in class Visible
SetInternalAttributes
public void SetInternalAttributes()
- Setup of internal attributes of this class
- Overrides:
- SetInternalAttributes in class Visible
Step
public void Step(int number_of_steps)
- Step (NbOfSteps)
SetSliderValue
public void SetSliderValue(int _value)
- SetSliderValue (NewSliderValue)
GetSliderValue
public void GetSliderValue(IntegerVariable var)
- GetSliderValue (SliderValueVar)
SetPortion
public void SetPortion(int _new_portion)
- SetPortion (NewPortion)
GetPortion
public void GetPortion(IntegerVariable var)
- GetPortion (PortionVar)
SetInteractionStatus
public void SetInteractionStatus(boolean newStatus)
- Set up interaction status
GetInteractionStatus
public void GetInteractionStatus(BooleanVariable statusVar)
- Get interaction status
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: 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