public abstract class FeedbackSystem
extends java.lang.Object
Constructor and Description |
---|
FeedbackSystem() |
Modifier and Type | Method and Description |
---|---|
static void |
attachFeedbackViewerToStage(IItem item,
IStage stage)
Attach feedback viewer to stage.
|
static void |
clearFeedbackEligibleItems()
Clear feedback eligible items.
|
static FeedbackSelect |
createSetter(IStage stage,
java.util.logging.Logger log,
java.util.ArrayList<java.lang.Class<? extends FeedbackItem>> feedbackTypes,
StudentRepresentation student,
StudentMenu menu)
Creates the setter.
|
static com.jme3.math.Vector2f |
getFedbackEligbleItemDimensions(IItem item)
Gets the fedback eligble item dimensions.
|
static java.util.ArrayList<IItem> |
getFedbackEligbleItems()
Gets the fedback eligble items.
|
static FeedbackContainer |
getFeedbackContainer(IItem item)
Gets the feedback container.
|
static boolean |
isItemFeedbackContainer(IItem item)
Checks if is item feedback container.
|
static boolean |
isItemFeedbackEligible(IItem item)
Checks if is item feedback eligible.
|
static void |
registerAsFeedbackEligible(IItem item,
float width,
float height,
FeedbackContainer container,
IStage stage)
Register as feedback eligible.
|
static void |
registerAsFeedbackEligible(IItem item,
float width,
float height,
IStage stage)
Register as feedback eligible.
|
static void |
removeAdditionalMedia(IStage stage)
Removes the additional media.
|
static void |
removeFeedbackViewerFromCurrentStage(IItem item)
Removes the feedback viewer from current stage.
|
static void |
unregisterAsFeedbackEligible(IItem item,
IStage stage)
Unregister as feedback eligible.
|
public static void attachFeedbackViewerToStage(IItem item, IStage stage)
item
- the itemstage
- the stagepublic static void clearFeedbackEligibleItems()
public static FeedbackSelect createSetter(IStage stage, java.util.logging.Logger log, java.util.ArrayList<java.lang.Class<? extends FeedbackItem>> feedbackTypes, StudentRepresentation student, StudentMenu menu)
stage
- the stagelog
- the logfeedbackTypes
- the feedback typesstudent
- the studentmenu
- the menupublic static com.jme3.math.Vector2f getFedbackEligbleItemDimensions(IItem item)
item
- the itempublic static java.util.ArrayList<IItem> getFedbackEligbleItems()
public static FeedbackContainer getFeedbackContainer(IItem item)
item
- the itempublic static boolean isItemFeedbackContainer(IItem item)
item
- the itempublic static boolean isItemFeedbackEligible(IItem item)
item
- the itempublic static void registerAsFeedbackEligible(IItem item, float width, float height, FeedbackContainer container, IStage stage)
item
- the itemwidth
- the widthheight
- the heightcontainer
- the containerstage
- the stagepublic static void registerAsFeedbackEligible(IItem item, float width, float height, IStage stage)
item
- the itemwidth
- the widthheight
- the heightstage
- the stagepublic static void removeAdditionalMedia(IStage stage)
stage
- the stagepublic static void removeFeedbackViewerFromCurrentStage(IItem item)
item
- the item