org.jdesktop.wonderland.client.scenemanager
Interface SceneManagerPolicy

All Known Implementing Classes:
DefaultSceneManagerPolicy

public interface SceneManagerPolicy

The SceneManagerPolicy interface defines the mapping between input events and higher-level conception actions in Wonderland that is managed by the Selection Manager.

Author:
Jordan Slott

Method Summary
 long getHoverDelay()
          Returns the time (in milliseconds) between the current time and the last event which interrupts the hover before a hover action starts.
 boolean isActivation(Event event)
          Returns true if the event corresponds to an activation event.
 boolean isClearedSelection(Event event)
          Returns true if the event corresponds to clearing the selection.
 boolean isContext(Event event)
          Returns true if the event corresponds to a context event.
 boolean isEnter(Event event)
          Returns true if the event corresponds to an Entity enter event.
 boolean isExit(Event event)
          Returns true if the event corresponds to an Entity exit event.
 boolean isHoverInterrupt(Event event)
          Returns true if the event corresponds to any event that will interrupt a mouse hover.
 boolean isMultiSelection(Event event)
          Returns true if the event corresponds to a multi-selection event.
 boolean isSingleSelection(Event event)
          Returns true if the event corresponds to a single-select event.
 

Method Detail

isClearedSelection

boolean isClearedSelection(Event event)
Returns true if the event corresponds to clearing the selection.

Parameters:
event - The input event
Returns:
True if the event clears the selection

isSingleSelection

boolean isSingleSelection(Event event)
Returns true if the event corresponds to a single-select event.

Parameters:
event - The input event
Returns:
True if the event is a single-selection event

isMultiSelection

boolean isMultiSelection(Event event)
Returns true if the event corresponds to a multi-selection event.

Parameters:
event - The input event
Returns:
True if the event is a multi-selection event

isActivation

boolean isActivation(Event event)
Returns true if the event corresponds to an activation event.

Parameters:
event - The input event
Returns:
True if the event is an activation event

isEnter

boolean isEnter(Event event)
Returns true if the event corresponds to an Entity enter event.

Parameters:
event - The input event
Returns:
True if the event is an enter event

isExit

boolean isExit(Event event)
Returns true if the event corresponds to an Entity exit event.

Parameters:
event - The input event
Returns:
True if the event is an exit event

isHoverInterrupt

boolean isHoverInterrupt(Event event)
Returns true if the event corresponds to any event that will interrupt a mouse hover.

Parameters:
event - The input event
Returns:
True if the event is a hover stop event

getHoverDelay

long getHoverDelay()
Returns the time (in milliseconds) between the current time and the last event which interrupts the hover before a hover action starts.

Returns:
A time before the hover action starts

isContext

boolean isContext(Event event)
Returns true if the event corresponds to a context event.

Parameters:
event - The input event
Returns:
True if the event is a context event


Open Wonderland - http://openwonderland.org