A B C D E F G H I J K L M N O P Q R S T U V W X Y

A

abort() - Static method in class com.hdcookbook.grin.util.AssetFinder
Called when the disc playback should abort.
abortHelper() - Method in class com.hdcookbook.grin.util.AssetFinder
Called when the disc playback should abort.
activate() - Method in class com.hdcookbook.grin.Feature
Called by the show when this feature becomes activated, that is, when it starts presenting.
activate(Segment) - Method in class com.hdcookbook.grin.input.CommandRCHandler
Called for handlers in s when s is activated
activate(Segment) - Method in class com.hdcookbook.grin.input.RCHandler
Called for handlers in s when s is activated
activate(Segment) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Called for handlers in s when s is activated
activateCommands - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
activated - Variable in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
activated - Variable in class com.hdcookbook.grin.features.Assembly
 
activated - Variable in class com.hdcookbook.grin.features.Modifier
 
activateFeatures - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
ActivatePartCommand - Class in com.hdcookbook.grin.commands
A GRIN command to activate a part within an assembly.
ActivatePartCommand(Show, Assembly, Feature) - Constructor for class com.hdcookbook.grin.commands.ActivatePartCommand
Constructor for use by xlets that want to change the state of an assembly
ActivatePartCommand(Show) - Constructor for class com.hdcookbook.grin.commands.ActivatePartCommand
 
activateSegment(Segment) - Method in class com.hdcookbook.grin.Show
Set the current segment.
activateSegment(Segment, boolean) - Method in class com.hdcookbook.grin.Show
Set the current segment.
ActivateSegmentCommand - Class in com.hdcookbook.grin.commands
A command to make a new segment be the active one within a show.
ActivateSegmentCommand(Show, boolean, boolean) - Constructor for class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
ActivateSegmentCommand(Show) - Constructor for class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
activeFeatures - Variable in class com.hdcookbook.grin.Segment
 
add(Object) - Method in class com.hdcookbook.grin.util.Queue
 
addArea(DrawRecord) - Method in class com.hdcookbook.grin.animator.RenderContext
Add the given area to this render area, so that the animation manager knows about it.
addClip(int, int, int, int) - Method in class com.hdcookbook.grin.animator.DrawRecord
Applies a clip to the area to be drawn.
addDisplayAreas(RenderContext) - Method in interface com.hdcookbook.grin.animator.AnimationClient
Tell the animation manager what areas need to be drawn to for the next frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.Feature
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Assembly
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Box
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Clipped
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Fade
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.FixedImage
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Group
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.GuaranteeFill
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.ImageSequence
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.InterpolatedModel
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Modifier
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.SetTarget
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.SrcOver
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Text
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.features.Translator
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.media.Playlist
Add all of the areas that are displayed for this feature with the current frame.
addDisplayAreas(RenderContext) - Method in class com.hdcookbook.grin.Show
Tell the animation manager what areas need to be drawn to for the next frame.
addRepaintArea(int, int, int, int) - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Sets this engine so that the given region of the image buffer is forced to be repainted at next frame.
addSubgraph(HashSet) - Method in class com.hdcookbook.grin.Feature
This is an implementation method that is not intended to be called direction by applications.
addSubgraph(HashSet) - Method in class com.hdcookbook.grin.features.Assembly
This is an implementation method that is not intended to be called direction by applications.
addSubgraph(HashSet) - Method in class com.hdcookbook.grin.features.Group
This is an implementation method that is not intended to be called direction by applications.
addSubgraph(HashSet) - Method in class com.hdcookbook.grin.features.Modifier
This is an implementation method that is not intended to be called direction by applications.
advanceModel() - Method in class com.hdcookbook.grin.animator.AnimationEngine
 
alignment - Variable in class com.hdcookbook.grin.features.Text
The alignment to apply to x and y.
alignment - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
The alignment to apply to x and y.
AnimationClient - Interface in com.hdcookbook.grin.animator
An AnimationClient is a client of an AnimationEngine.
AnimationContext - Interface in com.hdcookbook.grin.animator
Interface to be implemented by an xlet or other app that uses the animation framework.
AnimationEngine - Class in com.hdcookbook.grin.animator
Abstract base class for an animation engine.
AnimationEngine() - Constructor for class com.hdcookbook.grin.animator.AnimationEngine
Initialize a new AnimationEngine.
animationFinishInitialization() - Method in interface com.hdcookbook.grin.animator.AnimationContext
Run the last part of initialization.
animationFinishInitialization() - Method in class com.hdcookbook.grinxlet.GrinXlet
 
animationInitialize() - Method in interface com.hdcookbook.grin.animator.AnimationContext
Run the first part of initialization.
animationInitialize() - Method in class com.hdcookbook.grinxlet.GrinXlet
 
applyTranslation(int, int) - Method in class com.hdcookbook.grin.animator.DrawRecord
Indicates that the area is subject to the given translation.
assembly - Variable in class com.hdcookbook.grin.commands.ActivatePartCommand
 
Assembly - Class in com.hdcookbook.grin.features
An assembly is a feature composed of other features.
Assembly(Show) - Constructor for class com.hdcookbook.grin.features.Assembly
 
assembly - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
ASSERT - Static variable in class com.hdcookbook.grin.util.Debug
Variable to say that assertions are enabled.
assertByteAligned(int) - Method in class com.hdcookbook.grin.util.BitStreamIO
Generate an assertion failure if the BitStreamIO helper isn't aligned ot the given number of bytes.
assertFail(String) - Static method in class com.hdcookbook.grin.util.Debug
Called on assertion failure.
assertFail() - Static method in class com.hdcookbook.grin.util.Debug
Called on assertion failure.
AssetFinder - Class in com.hdcookbook.grin.util
This class serves two functions.
AssetFinder() - Constructor for class com.hdcookbook.grin.util.AssetFinder
See setHelper()
autoStart - Variable in class com.hdcookbook.grin.media.Playlist
 
autoStop - Variable in class com.hdcookbook.grin.media.Playlist
 

B

background - Variable in class com.hdcookbook.grin.features.Text
 
background - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
 
BASELINE - Static variable in class com.hdcookbook.grin.features.Text
Value for alignment indicating that y refers to the baseline of the text.
BASELINE - Static variable in class com.hdcookbook.grin.fontstrip.FontStripText
Value for alignment indicating that y refers to the baseline of the text.
BitStreamIO - Class in com.hdcookbook.grin.util
This contains utility methods to help read and write bit streams.
BitStreamIO() - Constructor for class com.hdcookbook.grin.util.BitStreamIO
Create a new BitStreamIO helper.
BOTTOM - Static variable in class com.hdcookbook.grin.features.Text
Value for alignment indicating that y refers to the baseline of the text.
BOTTOM - Static variable in class com.hdcookbook.grin.fontstrip.FontStripText
Value for alignment indicating that y refers to the baseline of the text.
Box - Class in com.hdcookbook.grin.features
Display text.
Box(Show) - Constructor for class com.hdcookbook.grin.features.Box
 
buildShow(Segment[], Feature[], RCHandler[], String[], Segment, Group, Hashtable, Hashtable, Hashtable, Hashtable, String[], int[]) - Method in class com.hdcookbook.grin.Show
This is called to build the show.

C

callPaintTargets() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Paint the current frame into the right graphics buffer.
callPaintTargets() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Paint the current frame into the right graphics buffer.
callPaintTargets() - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Paint the current frame into the right graphics buffer.
callPaintTargets() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Paint the current frame into the right graphics buffer.
callPaintTargets() - Method in class com.hdcookbook.grinxlet.DebugDirectDrawEngine
Paint the current frame into the right graphics buffer.
changeBoxColor(Color) - Method in class com.hdcookbook.grin.features.Box
Changes the color of the box.
changeBoxOutlineColor(Color) - Method in class com.hdcookbook.grin.features.Box
Changes the color of the box outline.
changeClipRegion(Rectangle) - Method in class com.hdcookbook.grin.features.Clipped
Change the region being clipped.
CharImageInfo - Class in com.hdcookbook.grin.fontstrip
Data holder for each character in FontStrip's image file.
CharImageInfo() - Constructor for class com.hdcookbook.grin.fontstrip.CharImageInfo
 
checkDestroy() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Throw an InterruptedException if we should bail out.
checkNewClients() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Check to see if we have new animation clients.
clearArea(int, int, int, int) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Called from showFrame() to cause an area to be cleared in the current frame.
clearArea(int, int, int, int) - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Called from showFrame() to cause an area to be cleared in the current frame.
clearArea(int, int, int, int) - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Called from showFrame() to cause an area to be cleared in the current frame.
clearArea(int, int, int, int) - Method in class com.hdcookbook.grin.animator.SFAAEngine
Called from showFrame() to cause an area to be cleared in the current frame.
Clipped - Class in com.hdcookbook.grin.features
Represents a clipped version of another feature.
Clipped(Show) - Constructor for class com.hdcookbook.grin.features.Clipped
 
clipRegion - Variable in class com.hdcookbook.grin.features.Clipped
 
ClockBasedEngine - Class in com.hdcookbook.grin.animator
Abstract base class for a clock-based animation engine.
ClockBasedEngine() - Constructor for class com.hdcookbook.grin.animator.ClockBasedEngine
Create a new ClockBasedEngine
cloneCommands(Command[], HashMap) - Static method in class com.hdcookbook.grin.Feature
Clone a command array within a feature.
clonedReference(Feature, HashMap) - Static method in class com.hdcookbook.grin.Feature
Return a reference to the feature f for use within a reference.
cloneIfNeeded(HashMap) - Method in class com.hdcookbook.grin.commands.ActivatePartCommand
Return this command, or if needed, a copy of this command.
cloneIfNeeded(HashMap) - Method in class com.hdcookbook.grin.commands.Command
Return this command, or if needed, a copy of this command.
cloneIfNeeded(HashMap) - Method in class com.hdcookbook.grin.commands.ResetFeatureCommand
Return this command, or if needed, a copy of this command.
cloneSubgraph(HashMap) - Method in class com.hdcookbook.grin.Feature
Clone the subgraph of a scene graph, rooted at this feature.
colors - Variable in class com.hdcookbook.grin.features.Text
 
com.hdcookbook.grin - package com.hdcookbook.grin
GRIN - GRaphical INteractivity, a framework for presentation of visual and other assets for BD-J and other GEM-based TV platforms.
com.hdcookbook.grin.animator - package com.hdcookbook.grin.animator
This package contians a framework for managing the main animation loop for an xlet.
com.hdcookbook.grin.commands - package com.hdcookbook.grin.commands
 
com.hdcookbook.grin.features - package com.hdcookbook.grin.features
 
com.hdcookbook.grin.fontstrip - package com.hdcookbook.grin.fontstrip
This package and its subpackages contains the optional fontstrip extension.
com.hdcookbook.grin.input - package com.hdcookbook.grin.input
 
com.hdcookbook.grin.io.binary - package com.hdcookbook.grin.io.binary
 
com.hdcookbook.grin.media - package com.hdcookbook.grin.media
PLAYER GRIN EXTENSION
com.hdcookbook.grin.util - package com.hdcookbook.grin.util
 
com.hdcookbook.grinxlet - package com.hdcookbook.grinxlet
This package contains a generic xlet that's designed to be configurable for a GRIN-based xlet.
Command - Class in com.hdcookbook.grin.commands
Common base class of all GRIN commands.
Command(Show) - Constructor for class com.hdcookbook.grin.commands.Command
 
COMMAND_LIST - Static variable in class com.hdcookbook.grin.GrinXHelper
The commandNumber for the GRIN internal list-of-commands command
commandNumber - Variable in class com.hdcookbook.grin.GrinXHelper
 
CommandRCHandler - Class in com.hdcookbook.grin.input
This remote control handler will trigger a set of commands whenever one of a set of keys is pressed.
CommandRCHandler() - Constructor for class com.hdcookbook.grin.input.CommandRCHandler
 
commands - Variable in class com.hdcookbook.grin.input.CommandRCHandler
 
component - Variable in class com.hdcookbook.grin.Show
The component we're presented within.
controllerUpdate(ControllerEvent) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Callback from ControllerListener
createAnimationEngine() - Method in class com.hdcookbook.grinxlet.GrinXlet
Create the animation engine for this xlet, set up for the desired framerate.
createClone(HashMap) - Method in class com.hdcookbook.grin.Feature
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.Assembly
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.Box
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.Clipped
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.Fade
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.FixedImage
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.Group
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.GuaranteeFill
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.ImageSequence
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.InterpolatedModel
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.SetTarget
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.SrcOver
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.Text
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createClone(HashMap) - Method in class com.hdcookbook.grin.features.Translator
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
createCompatibleImageBuffer(Component, int, int) - Static method in class com.hdcookbook.grin.util.AssetFinder
Get an image buffer that's suitable for use double-buffering drawing to the componet c.
createCompatibleImageBufferHelper(Component, int, int) - Method in class com.hdcookbook.grin.util.AssetFinder
Subclasses can override this to return a different kind of buffered image, e.g.
createGraphicsFromImageBuffer(Image) - Static method in class com.hdcookbook.grin.util.AssetFinder
Create a Graphic2D image for drawing into the given image buffer.
createGraphicsFromImageBufferHelper(Image) - Method in class com.hdcookbook.grin.util.AssetFinder
Subclasses can override this to work with a different kind of buffered image, e.g.
createLocator(String) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Create a BD locator.
createMediaLocator(String) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Create a MediaLocator, given a BD locator string
currentFeature - Variable in class com.hdcookbook.grin.features.Assembly
 
currValues - Variable in class com.hdcookbook.grin.features.InterpolatedModel
 

D

deactivate() - Method in class com.hdcookbook.grin.Feature
Called by the show when this feature is no longer being presented by whatever contains it.
Debug - Class in com.hdcookbook.grin.util
Debugging support.
DebugDirectDrawEngine - Class in com.hdcookbook.grinxlet
A double-buffered animation engine that uses direct draw, and can be set in "debug draw" mode.
DebugDirectDrawEngine() - Constructor for class com.hdcookbook.grinxlet.DebugDirectDrawEngine
Create a new DebugDirectDrawEngine.
DebugLog - Class in com.hdcookbook.grinxlet
A class to manage the debug log.
debugLogHeartbeat() - Method in class com.hdcookbook.grinxlet.XletDirector
 
deferNextCommands() - Method in class com.hdcookbook.grin.commands.Command
Deprecated.  
deferNextCommands() - Method in class com.hdcookbook.grin.Show
This method, which should ONLY be called from the execute() method of a command, suspends processing of further queued commands until the display of the show has caught up with the screen.
destroy() - Method in interface com.hdcookbook.grin.animator.AnimationClient
Destroy this animatin client.
destroy() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Destroy this animation manager, by terminating the animation thread.
destroy() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Destroy this animation manager, by terminating the animation thread.
destroy() - Method in class com.hdcookbook.grin.Feature
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.Assembly
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.Box
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.FixedImage
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.Group
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.ImageSequence
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.InterpolatedModel
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.Modifier
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.features.Text
 
destroy() - Method in class com.hdcookbook.grin.features.Translator
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
destroy() - Method in class com.hdcookbook.grin.media.PlayerWrangler
Destroy the playback engine.
destroy() - Method in class com.hdcookbook.grin.media.Playlist
Free any resources held by this feature.
destroy() - Method in class com.hdcookbook.grin.Show
Destroy this animatin client.
destroyClonedSubgraph() - Method in class com.hdcookbook.grin.Feature
Destroy a subgraph of features that was created with cloneSubgraph().
destroyImageBuffer(Image) - Static method in class com.hdcookbook.grin.util.AssetFinder
Destroy an image buffer, freeing native resources that it uses (such as native memory used to hold a pixmap).
destroyImageBufferHelper(Image) - Method in class com.hdcookbook.grin.util.AssetFinder
Subclasses can override this to work with a different kind of buffered image, e.g.
destroyRequested() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Tells us if there has been a request to destroy this animation manager.
destroyXlet(boolean) - Method in class com.hdcookbook.grinxlet.GrinXlet
 
DirectDrawEngine - Class in com.hdcookbook.grin.animator
A double-buffered animation engine that uses direct draw.
DirectDrawEngine() - Constructor for class com.hdcookbook.grin.animator.DirectDrawEngine
Create a new DirectDrawEngine.
Director - Class in com.hdcookbook.grin
This class is a supertype that xlets can subclass to interact with a show.
Director() - Constructor for class com.hdcookbook.grin.Director
Create a new Director.
doActivateSegment(Segment) - Method in class com.hdcookbook.grin.Show
This is called from ActivateSegmentCommand, and should not be called from anywhere else.
doInitXlet(String[]) - Method in class com.hdcookbook.grinxlet.GrinXlet
This method can be overridden by subclasses that want to look for xlet arguments in places other than the default XletContext.ARGS and "dvb.caller.parameters".
doneProfiling() - Static method in class com.hdcookbook.grin.util.Profile
Indicates profiling is over, releases the network resources.
doSegmentDone() - Method in class com.hdcookbook.grin.Show
This is called from GrinXHelper(SEGMENT_DONE), and should not be called from anywhere else.
doSomeSetup() - Method in class com.hdcookbook.grin.features.FixedImage
Do some (or all) of the setup work needed for this client.
doSomeSetup() - Method in class com.hdcookbook.grin.features.ImageSequence
Do some (or all) of the setup work needed for this client.
doSomeSetup() - Method in class com.hdcookbook.grin.features.Text
Do some (or all) of the setup work needed for this client.
doSomeSetup() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
Do some (or all) of the setup work needed for this client.
doSomeSetup() - Method in interface com.hdcookbook.grin.util.SetupClient
Do some (or all) of the setup work needed for this client.
draw(Graphics2D, int, int, Component) - Method in class com.hdcookbook.grin.util.ManagedFullImage
Draw this image into the given graphics context
draw(Graphics2D, int, int, Component) - Method in class com.hdcookbook.grin.util.ManagedImage
Draw this image into the given graphics context
draw(Graphics2D, int, int, Component) - Method in class com.hdcookbook.grin.util.ManagedSubImage
Draw this image into the given graphics context
drawClipped(Graphics2D, int, int, Rectangle, Component) - Method in class com.hdcookbook.grin.util.ManagedFullImage
Draw the the given subsection of the image into a graphics context, without scaling.
drawClipped(Graphics2D, int, int, Rectangle, Component) - Method in class com.hdcookbook.grin.util.ManagedImage
Draw the the given subsection of the image into a graphics context, without scaling.
drawClipped(Graphics2D, int, int, Rectangle, Component) - Method in class com.hdcookbook.grin.util.ManagedSubImage
Draw the the given subsection of the image into a graphics context, without scaling.
DrawRecord - Class in com.hdcookbook.grin.animator
This class represents a record of drawing to a rectangular area.
DrawRecord() - Constructor for class com.hdcookbook.grin.animator.DrawRecord
Create a new, empty DrawRecord
drawScaled(Graphics2D, Rectangle, Component) - Method in class com.hdcookbook.grin.util.ManagedFullImage
Draw this image into the given graphics context, scaled to fit within the given bounds.
drawScaled(Graphics2D, Rectangle, Component) - Method in class com.hdcookbook.grin.util.ManagedImage
Draw this image into the given graphics context, scaled to fit within the given bounds.
drawScaled(Graphics2D, Rectangle, Component) - Method in class com.hdcookbook.grin.util.ManagedSubImage
Draw this image into the given graphics context, scaled to fit within the given bounds.

E

endCommands - Variable in class com.hdcookbook.grin.features.Fade
 
endCommands - Variable in class com.hdcookbook.grin.features.ImageSequence
 
endCommands - Variable in class com.hdcookbook.grin.features.InterpolatedModel
 
enqueue(Runnable) - Static method in class com.hdcookbook.grin.util.NetworkManager
Queue the runnable to run in the networking thread.
equals(Object) - Method in class com.hdcookbook.grin.util.ManagedImage
 
execute() - Method in class com.hdcookbook.grin.commands.ActivatePartCommand
 
execute() - Method in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
execute(Show) - Method in class com.hdcookbook.grin.commands.Command
Execute the command.
execute() - Method in class com.hdcookbook.grin.commands.Command
Execute the command.
execute() - Method in class com.hdcookbook.grin.commands.ResetFeatureCommand
 
execute(Show) - Method in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
execute() - Method in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
execute(Show) - Method in class com.hdcookbook.grin.GrinXHelper
Execute the command.
execute() - Method in class com.hdcookbook.grin.GrinXHelper
Execute the command.
execute(Show) - Method in class com.hdcookbook.grin.input.RCKeyEvent
Execute the command.
execute() - Method in class com.hdcookbook.grin.input.RCKeyEvent
Execute the command.

F

Fade - Class in com.hdcookbook.grin.features
Modifies a child feature by applying an alpha value when drawing in it.
Fade(Show) - Constructor for class com.hdcookbook.grin.features.Fade
 
feature - Variable in class com.hdcookbook.grin.commands.ResetFeatureCommand
 
Feature - Class in com.hdcookbook.grin
Represents a feature.
Feature(Show) - Constructor for class com.hdcookbook.grin.Feature
 
features - Variable in class com.hdcookbook.grin.Show
 
fileName - Variable in class com.hdcookbook.grin.features.FixedImage
 
fileNames - Variable in class com.hdcookbook.grin.features.ImageSequence
 
fillColor - Variable in class com.hdcookbook.grin.features.Box
 
fills - Variable in class com.hdcookbook.grin.features.GuaranteeFill
 
findPart(String) - Method in class com.hdcookbook.grin.features.Assembly
Find the part of the given name in this assembly, or null if it can't be found.
finishedFrame() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Called when the engine is finished drawing the current frame.
finishedFrame() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Called when the engine is finished drawing the current frame.
finishedFrame() - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Called when the engine is finished drawing the current frame.
finishedFrame() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Called when the engine is finished drawing the current frame.
FixedImage - Class in com.hdcookbook.grin.features
Represents a fixed image.
FixedImage(Show) - Constructor for class com.hdcookbook.grin.features.FixedImage
 
FontImageFileInfo - Class in com.hdcookbook.grin.fontstrip
 
FontImageFileInfo() - Constructor for class com.hdcookbook.grin.fontstrip.FontImageFileInfo
 
fontImageFileName - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
 
fontIndex - Variable in class com.hdcookbook.grin.features.Text
 
fontName - Variable in class com.hdcookbook.grin.Show
 
FontStripText - Class in com.hdcookbook.grin.fontstrip
A feature for drawing font strip text.
FontStripText(Show) - Constructor for class com.hdcookbook.grin.fontstrip.FontStripText
 
fontStyleSize - Variable in class com.hdcookbook.grin.Show
 
framerateDown() - Method in class com.hdcookbook.grinxlet.XletDirector
Decreases the framerate
framerateUp() - Method in class com.hdcookbook.grinxlet.XletDirector
Increases the framerate
frames - Variable in class com.hdcookbook.grin.features.InterpolatedModel
 
fx - Variable in class com.hdcookbook.grin.features.Translator
 
fy - Variable in class com.hdcookbook.grin.features.Translator
 

G

getActivated() - Method in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
getActivated() - Method in class com.hdcookbook.grin.input.VisualRCHandler
This is intended for applications that wish to query the UI state.
getActiveFeatures() - Method in class com.hdcookbook.grin.Segment
Get the list of active features of this segment.
getAlpha(boolean, int) - Method in class com.hdcookbook.grin.ShowInitializer
Get an AlphaComposite object for drawing with an alpha value.
getAnimationClients() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Return a copy of the list of animation clients that were last set for this animation engine.
getAnimationClients() - Method in class com.hdcookbook.grinxlet.GrinXlet
Get the list of animation clients
getAnimationEngine() - Method in class com.hdcookbook.grinxlet.GrinXlet
Get the animation engine
getAnimationFrameTime() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Get the time of the current frame of animation.
getAssembly() - Method in class com.hdcookbook.grin.commands.ActivatePartCommand
 
getBitMask() - Method in class com.hdcookbook.grin.input.RCKeyEvent
A bitmask value is assigned to each remote control key.
getBitsProcessed() - Method in class com.hdcookbook.grin.util.BitStreamIO
Get the number of bits processed by this helper.
getColor(int, int, int, int) - Static method in class com.hdcookbook.grin.util.AssetFinder
Efficiently get a Color that's used within a Show.
getColorKeyCode(Color) - Static method in class com.hdcookbook.grin.util.AssetFinder
Get the key code for the given color key.
getColorKeyCodeHelper(Color) - Method in class com.hdcookbook.grin.util.AssetFinder
Get the key code for the given color key.
getComponent() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Get the component that this animation engine renders into.
getComponent() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Get the component that this animation engine renders into.
getComponent() - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Get the component that this animation engine renders into.
getComponent() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Get the component that this animation engine renders into.
getCurrentFrame() - Method in class com.hdcookbook.grin.features.ImageSequence
Get the current frame.
getCurrentPart() - Method in class com.hdcookbook.grin.features.Assembly
Get the currently active part within this assembly.
getCurrentSegment() - Method in class com.hdcookbook.grin.Show
Get the current segment.
getDebugDraw() - Method in class com.hdcookbook.grinxlet.XletDirector
 
getDirector() - Method in class com.hdcookbook.grin.Show
Get this show's director.
getDrawTargets() - Method in interface com.hdcookbook.grin.animator.AnimationClient
Get the names of the draw targets used by this animation client.
getDrawTargets() - Method in class com.hdcookbook.grin.animator.AnimationEngine
 
getDrawTargets() - Method in class com.hdcookbook.grin.Show
Get the set of draw target names.
getEndCommands() - Method in class com.hdcookbook.grin.features.InterpolatedModel
Return the list of commands that are executed at the end of doing our translation.
getEraseTargets() - Method in class com.hdcookbook.grin.animator.AnimationEngine
 
getEventsFromMask(int) - Static method in class com.hdcookbook.grin.input.RCKeyEvent
Returns a vector of events turned-on by the given mask.
getFeature(String) - Method in class com.hdcookbook.grin.Director
Get the named public feature from the show we're managing.
getFeature(String) - Method in class com.hdcookbook.grin.Show
Look up the given public feature.
getField(int) - Method in class com.hdcookbook.grin.features.InterpolatedModel
Give the current value for the given field
getFont() - Method in class com.hdcookbook.grin.features.Text
Get the font used for this text feature
getFont(int) - Method in class com.hdcookbook.grin.Show
Get one of the fonts recorded for this show.
getFont(String, int, int) - Static method in class com.hdcookbook.grin.util.AssetFinder
Get a Font that's used within a Show.
getFontHelper(String, int, int) - Method in class com.hdcookbook.grin.util.AssetFinder
Helper subclass can override this in order to search for generic assets, like images.
getFps() - Method in class com.hdcookbook.grin.animator.ClockBasedEngine
Get the current framerate, in 1001ths of a second.
getFrameNumber() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Get the current frame number.
getHeight() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Get the height of the area we display over
getHeight() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Get the height of the area we display over
getHeight() - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Get the height of the area we display over
getHeight() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Get the height of the area we display over
getHeight() - Method in class com.hdcookbook.grin.util.ManagedFullImage
 
getHeight() - Method in class com.hdcookbook.grin.util.ManagedImage
Get the height of this image.
getHeight() - Method in class com.hdcookbook.grin.util.ManagedSubImage
 
getImage() - Method in class com.hdcookbook.grin.features.FixedImage
Get the underlying image that we display.
getImage(String) - Static method in class com.hdcookbook.grin.util.ImageManager
Get an image.
getImage(URL) - Static method in class com.hdcookbook.grin.util.ImageManager
Get an image from a URL.
getImage(ManagedImage) - Static method in class com.hdcookbook.grin.util.ImageManager
This is like getImage(String), but for the case where you already have the ManagedImage instance.
getImages() - Method in class com.hdcookbook.grin.features.ImageSequence
Get the underlying images in this sequence.
getInstance() - Static method in class com.hdcookbook.grin.media.PlayerWrangler
 
getInstance() - Static method in class com.hdcookbook.grinxlet.GrinXlet
Get the instance of this singleton
getInstanceOf(Show, int) - Method in class com.hdcookbook.grin.GrinXHelper
Instantiate an extension class.
getKeyByEventCode(int) - Static method in class com.hdcookbook.grin.input.RCKeyEvent
Look up the RCKeyEvent corresponding to a VK_ key code.
getKeyByName(String) - Static method in class com.hdcookbook.grin.input.RCKeyEvent
Look up the RCKeyEvent by its logical name.
getKeyCode() - Method in class com.hdcookbook.grin.input.RCKeyEvent
 
getKeyReleased() - Method in class com.hdcookbook.grin.input.RCKeyEvent
Give the RCKeyEvent for this VK code that represents a key release.
getLineHeight() - Method in class com.hdcookbook.grin.features.Text
Get the height of a line, including any vertical padding to take it to the next line.
getLineHeight() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
Get the height of a line, including any vertical padding to take it to the next line.
getLocator() - Method in class com.hdcookbook.grin.media.Playlist
 
getMediaTime() - Method in class com.hdcookbook.grin.media.PlayerWrangler
Returns the current media time in ns, or -1 if no playlist has started.
getMediaTimeMS() - Method in class com.hdcookbook.grin.media.PlayerWrangler
Returns the current media time in ms, or -1 if no playlist has started.
getModel() - Method in class com.hdcookbook.grin.features.Translator
Get the translation that moves us
getModelTimeSkipped() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Return the number of ms skipped before the next model update.
getMutablePlacement() - Method in class com.hdcookbook.grin.features.FixedImage
Get the placement of this image, that is, the x, y, position, the width and the height.
getName() - Method in class com.hdcookbook.grin.Feature
All public features have a name.
getName() - Method in class com.hdcookbook.grin.input.RCHandler
Returns the name of this RCHandler, if known.
getName() - Method in class com.hdcookbook.grin.input.RCKeyEvent
Get a developer-friendly name of this key event.
getName() - Method in class com.hdcookbook.grin.Segment
Get the name of this segment.
getName() - Method in class com.hdcookbook.grin.util.ManagedFullImage
 
getName() - Method in class com.hdcookbook.grin.util.ManagedImage
 
getName() - Method in class com.hdcookbook.grin.util.ManagedSubImage
 
getNamedCommand(String) - Method in class com.hdcookbook.grin.Director
Get the named public command (or command list) from the show we're managing.
getNamedCommand(String) - Method in class com.hdcookbook.grin.Show
Look up the given public named command or command list.
getNextCommands() - Method in class com.hdcookbook.grin.Segment
Give the commands in our next clause.
getNextOnSetupDone() - Method in class com.hdcookbook.grin.Segment
Do we trigger the commands in our next clause when all of the features in our setup clause have finished loading?
getNumDrawTargets() - Method in class com.hdcookbook.grin.animator.AnimationEngine
 
getNumEraseTargets() - Method in class com.hdcookbook.grin.animator.AnimationEngine
 
getOnEntryCommands() - Method in class com.hdcookbook.grin.Segment
Get the list of commands that are called when this segment is activated.
getPart() - Method in class com.hdcookbook.grin.commands.ActivatePartCommand
 
getPart(Assembly, String) - Method in class com.hdcookbook.grin.Director
Look up the named part in the given assembly.
getPart() - Method in class com.hdcookbook.grin.features.Modifier
Get our child feature
getPartNames() - Method in class com.hdcookbook.grin.features.Assembly
Get the names of our parts.
getParts() - Method in class com.hdcookbook.grin.features.Assembly
Get our parts, that is, our child features.
getParts() - Method in class com.hdcookbook.grin.features.Group
Get the parts that make up this group in the original scene graph.
getPop() - Method in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
getPush() - Method in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
getRate() - Method in class com.hdcookbook.grin.media.PlayerWrangler
Gets the rate of playback.
getRCHandler(String) - Method in class com.hdcookbook.grin.Show
Get a public RC handler by name.
getRCHandlers() - Method in class com.hdcookbook.grin.Segment
Give the set of remote control handlers for this segment.
getRootContainer() - Method in class com.hdcookbook.grinxlet.GrinXlet
Return the root container for this xlet, with the size set to the desired size.
getRunCommands() - Method in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
getSearchPathFile() - Static method in class com.hdcookbook.grin.util.AssetFinder
Get the appJarPathArg as set by setSearchPath()
getSearchPathJar() - Static method in class com.hdcookbook.grin.util.AssetFinder
Get the filePathArg as set by setSearchPath()
getSegment() - Method in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
getSegment(String) - Method in class com.hdcookbook.grin.Director
Look up the given named public segment in the show we're managing.
getSegment(String) - Method in class com.hdcookbook.grin.Show
Look up a public segment.
getSegmentStackDepth() - Method in class com.hdcookbook.grin.Show
Get the depth of the segment stack.
getSetupFeatures() - Method in class com.hdcookbook.grin.Segment
Get the list of features in the setup clause of this segment.
getShow() - Method in class com.hdcookbook.grin.Director
Get the show we're managing.
getShow() - Method in class com.hdcookbook.grin.Segment
 
getSizeControl() - Method in class com.hdcookbook.grin.media.PlayerWrangler
Returns an AWTVideoSizeControl that can be used to scale the video.
getSkippedFrames() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Get the number of skipped frames over the lifetime of this animation.
getState() - Method in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
getState() - Method in class com.hdcookbook.grin.input.VisualRCHandler
This is intended for applications that wish to query the UI state.
getStateName(int) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Get the name of a numbered state.
getText() - Method in class com.hdcookbook.grin.features.Text
Get the text that's being displayed.
getText() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
Get the text that's being displayed.
getURL(String) - Static method in class com.hdcookbook.grin.util.AssetFinder
Get a URL to an asset.
getVisualRCHandler() - Method in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
getWidth() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Get the width of the area we display over
getWidth() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Get the width of the area we display over
getWidth() - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Get the width of the area we display over
getWidth() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Get the width of the area we display over
getWidth() - Method in class com.hdcookbook.grin.util.ManagedFullImage
 
getWidth() - Method in class com.hdcookbook.grin.util.ManagedImage
Get the width of this image.
getWidth() - Method in class com.hdcookbook.grin.util.ManagedSubImage
 
getX() - Method in class com.hdcookbook.grin.Feature
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.Assembly
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.Box
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.FixedImage
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.Group
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.ImageSequence
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.InterpolatedModel
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.Modifier
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.Text
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.features.Translator
Get the upper-left hand corner of this feature as presently displayed.
getX() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
getX() - Method in class com.hdcookbook.grin.media.Playlist
Get the upper-left hand corner of this feature as presently displayed.
getXOffset() - Method in class com.hdcookbook.grin.Show
Get the x offset that this show was built with.
getXScale() - Method in class com.hdcookbook.grin.Show
Get the x scale factor, in mills.
getY() - Method in class com.hdcookbook.grin.Feature
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.Assembly
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.Box
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.FixedImage
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.Group
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.ImageSequence
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.InterpolatedModel
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.Modifier
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.Text
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.features.Translator
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getY() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
getY() - Method in class com.hdcookbook.grin.media.Playlist
Get the upper-left hand corner of this feature as presently displayed Return Integer.MAX_VALUE if this feature has no visible representation.
getYOffset() - Method in class com.hdcookbook.grin.Show
Get the y offset that this show was built with.
getYScale() - Method in class com.hdcookbook.grin.Show
Get the y scale factor, in mills.
GRID_ACTIVATE - Static variable in class com.hdcookbook.grin.input.VisualRCHandler
A special value in a grid that means to activate the current state
gridAlternateNames - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
gridNumber - Variable in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
GrinBinaryReader - Class in com.hdcookbook.grin.io.binary
The main class to read in a Show object from a binary file format.
GrinBinaryReader(InputStream) - Constructor for class com.hdcookbook.grin.io.binary.GrinBinaryReader
Constructs a GrinBinaryReader instance.
GrinBinaryReader(InputStream, ClassLoader) - Constructor for class com.hdcookbook.grin.io.binary.GrinBinaryReader
Constructs a GrinBinaryReader instance.
GrinDataInputStream - Class in com.hdcookbook.grin.io.binary
GrinDataInputStream is a convenience DataInputStream subclass that can handle certain Objects and Object arrays, including null.
GrinXHelper - Class in com.hdcookbook.grin
This class has three distinct functions.
GrinXHelper(Show) - Constructor for class com.hdcookbook.grin.GrinXHelper
 
GrinXlet - Class in com.hdcookbook.grinxlet
The xlet class for a grin-centric xlet project.
GrinXlet() - Constructor for class com.hdcookbook.grinxlet.GrinXlet
 
Group - Class in com.hdcookbook.grin.features
Represents a group of features that are all activated at the same time.
Group(Show) - Constructor for class com.hdcookbook.grin.features.Group
 
guaranteeAreaFilled(DrawRecord) - Method in class com.hdcookbook.grin.animator.RenderContext
Guarantee that the given area will have all of its pixels filled (e.g.
guaranteed - Variable in class com.hdcookbook.grin.features.GuaranteeFill
 
GuaranteeFill - Class in com.hdcookbook.grin.features
Guarantees that its children will completely fill a given rectangle on the screen with source-mode drawing.
GuaranteeFill(Show) - Constructor for class com.hdcookbook.grin.features.GuaranteeFill
 

H

hadErrorLoading() - Method in class com.hdcookbook.grin.util.ManagedFullImage
Tells whether or not the image had an error loading, e.g.
hadErrorLoading() - Method in class com.hdcookbook.grin.util.ManagedImage
Tells whether or not the image had an error loading, e.g.
hadErrorLoading() - Method in class com.hdcookbook.grin.util.ManagedSubImage
Tells whether or not the image had an error loading, e.g.
handleKeyPressed(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.CommandRCHandler
Handle a remote control key press.
handleKeyPressed(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.RCHandler
Handle a remote control key press.
handleKeyPressed(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Handle a remote control key press.
handleKeyPressed(int) - Method in class com.hdcookbook.grin.Show
Called by the xlet when a key press is received.
handleKeyReleased(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.CommandRCHandler
Handle a remote control key release.
handleKeyReleased(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.RCHandler
Handle a remote control key release.
handleKeyReleased(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Handle a remote control key release.
handleKeyReleased(int) - Method in class com.hdcookbook.grin.Show
Called by the xlet when a key release is received.
handleKeyTyped(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.CommandRCHandler
Handle a key typed event.
handleKeyTyped(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.RCHandler
Handle a key typed event.
handleKeyTyped(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Handle a key typed event.
handleKeyTyped(RCKeyEvent) - Method in class com.hdcookbook.grin.Show
Called by the xlet when a key typed event is received, or generated (e.g.
handleMouse(int, int, boolean) - Method in class com.hdcookbook.grin.input.CommandRCHandler
handleMouse(int, int, boolean) - Method in class com.hdcookbook.grin.input.RCHandler
 
handleMouse(int, int, boolean) - Method in class com.hdcookbook.grin.input.VisualRCHandler
handleMouseClicked(int, int) - Method in class com.hdcookbook.grin.Show
Called by the xlet when the mouse is clicked.
handleMouseMoved(int, int) - Method in class com.hdcookbook.grin.Show
Called by the xlet when the mouse moves.
handler - Variable in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
height - Variable in class com.hdcookbook.grin.features.Box
 
hspace - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
 

I

image - Variable in class com.hdcookbook.grin.features.FixedImage
 
ImageManager - Class in com.hdcookbook.grin.util
This class manages a set of images.
images - Variable in class com.hdcookbook.grin.features.ImageSequence
 
ImageSequence - Class in com.hdcookbook.grin.features
An image sequence does "cell" animation.
ImageSequence(Show) - Constructor for class com.hdcookbook.grin.features.ImageSequence
 
imageUpdate(Image, int, int, int, int, int) - Method in class com.hdcookbook.grin.util.ManagedFullImage
 
INFOFILE - Static variable in class com.hdcookbook.grin.fontstrip.FontStripText
The name of the fontstrip information file.
initClients(AnimationClient[]) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Initialize this engine with the animation clients it will be managing.
initContainer(Container, Rectangle) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Initialize this engine with its parent container and the position and size of the engine within the container.
initContainer(Container, Rectangle) - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Initialize this engine with its parent container and the position and size of the engine within the container.
initContainer(Container, Rectangle) - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Initialize this engine with its parent container and the position and size of the engine within the container.
initContainer(Container, Rectangle) - Method in class com.hdcookbook.grin.animator.SFAAEngine
Initialize this engine with its parent container and the position and size of the engine within the container.
initContainer(Container, Rectangle) - Method in class com.hdcookbook.grinxlet.DebugDirectDrawEngine
Initialize this engine with its parent container and the position and size of the engine within the container.
initFontImageFileInfo(String) - Static method in class com.hdcookbook.grin.fontstrip.FontImageFileInfo
 
initialize(Component) - Method in interface com.hdcookbook.grin.animator.AnimationClient
Initialize the animation client.
initialize(AnimationContext) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Initialize this animation manager.
initialize() - Method in class com.hdcookbook.grin.Feature
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.Assembly
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.Box
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.Fade
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.FixedImage
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.Group
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.ImageSequence
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.InterpolatedModel
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.Modifier
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.Text
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.features.Translator
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
initialize(AnimationEngine) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Initialize the playback engine.
initialize() - Method in class com.hdcookbook.grin.media.Playlist
Initialize this feature.
initialize() - Method in class com.hdcookbook.grin.Segment
Initialize up this segment.
initialize(Component) - Method in class com.hdcookbook.grin.Show
Initialize the animation client.
initialize() - Method in class com.hdcookbook.grinxlet.XletDirector
 
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.Feature
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.features.Box
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.features.Fade
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.features.FixedImage
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.features.Group
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.features.ImageSequence
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.features.InterpolatedModel
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializeClone(Feature, HashMap) - Method in class com.hdcookbook.grin.features.Translator
This is an implementation method that should not be called direction by applications; it is called from cloneSubgraph().
initializer - Variable in class com.hdcookbook.grin.Show
An object used to hold state during initializaition of a show.
initProfiler(int, String) - Static method in class com.hdcookbook.grin.util.Profile
Initializes this class with the network address of the remote computer where profiling is done.
initTokenStart(int) - Static method in class com.hdcookbook.grin.util.Profile
Initialize the starting point of counting for tokens.
initXlet(XletContext) - Method in class com.hdcookbook.grinxlet.GrinXlet
 
internalHandleKeyPressed(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.Show
This is an implementation method, called by RCKeyEvent
internalHandleKeyReleased(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.Show
This is an implementation method, called by RCKeyEvent
internalHandleKeyTyped(RCKeyEvent, Show) - Method in class com.hdcookbook.grin.Show
This method is to be called by a subclass of RCKeyEvent that is created by someone extending GRIN to support key typed events.
InterpolatedModel - Class in com.hdcookbook.grin.features
An InterpolatedModel is a feature that controls one or more integer factors, and interpolates their values according to keyframes.
InterpolatedModel(Show) - Constructor for class com.hdcookbook.grin.features.InterpolatedModel
 
isEmpty() - Method in class com.hdcookbook.grin.util.Queue
 
isKeyPress() - Method in class com.hdcookbook.grin.input.RCKeyEvent
Return true if this is represents key press, and false if it represents a key release.
isLoaded() - Method in class com.hdcookbook.grin.util.ManagedFullImage
Determine whether or not the image is currently loaded.
isLoaded() - Method in class com.hdcookbook.grin.util.ManagedImage
Determine whether or not the image is currently loaded.
isLoaded() - Method in class com.hdcookbook.grin.util.ManagedSubImage
Determine whether or not the image is currently loaded.
isNull() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Checks whether the Object reading is is null or not.
isSetup() - Method in class com.hdcookbook.grin.Feature
Check to see if this feature has been set up, or has a pending request to be set up.

J

JsonIO - Class in com.hdcookbook.grin.util
This contains utility methods to read and write JSON-formatted objects.

K

KEY_0 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_1 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_2 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_3 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_4 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_5 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_6 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_7 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_8 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_9 - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_BLUE - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
The blue color key.
KEY_DOWN - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_ENTER - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_FAST_FWD - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_GREEN - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
The green color key.
KEY_INFO - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_LEFT - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_PAUSE - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_PG_TEXTST_ENABLE_DISABLE - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_PLAY - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_POPUP_MENU - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_RED - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
The red color key.
KEY_REWIND - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_RIGHT - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_SECONDARY_AUDIO_ENABLE_DISABLE - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_SECONDARY_VIDEO_ENABLE_DISABLE - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_STILL_OFF - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_STOP - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_TRACK_NEXT - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_TRACK_PREV - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_UP - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
 
KEY_YELLOW - Static variable in class com.hdcookbook.grin.input.RCKeyEvent
The yellow color key.
keyAlphas - Variable in class com.hdcookbook.grin.features.Fade
 
keyframes - Variable in class com.hdcookbook.grin.features.Fade
 
keyTypedInterest - Variable in class com.hdcookbook.grin.Segment
This bitmask is formed by or-ing the set of key typed events this segment has handlers for.

L

LEFT - Static variable in class com.hdcookbook.grin.features.Text
Value for alignment indicating that x refers to the left side of the text.
LEFT - Static variable in class com.hdcookbook.grin.fontstrip.FontStripText
Value for alignment indicating that x refers to the left side of the text.
LEVEL - Static variable in class com.hdcookbook.grin.util.Debug
Debug level.
load(Component) - Method in class com.hdcookbook.grin.util.ManagedFullImage
Load this image for display in the given component, or any other component for the same graphics device.
load(Component) - Method in class com.hdcookbook.grin.util.ManagedImage
Load this image for display in the given component, or any other component for the same graphics device.
load(Component) - Method in class com.hdcookbook.grin.util.ManagedSubImage
Load this image for display in the given component, or any other component for the same graphics device.
loadImage(String) - Static method in class com.hdcookbook.grin.util.AssetFinder
Load an image from the given path.
loadImageHelper(String) - Method in class com.hdcookbook.grin.util.AssetFinder
Helper subclass can override this in order to search for images in some special way.
lookupGrid(String) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Look up an alternate grid by name.
lookupState(String) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Lookup a state number by name.
loopCount - Variable in class com.hdcookbook.grin.features.Fade
 
loopCount - Variable in class com.hdcookbook.grin.features.ImageSequence
 
loopCount - Variable in class com.hdcookbook.grin.features.InterpolatedModel
 
loopCount - Variable in class com.hdcookbook.grin.features.Text
 

M

makeMessage(String) - Static method in class com.hdcookbook.grin.util.Profile
Allocates buffer and returns UTF-8 bytes for a debug message packet.
makeNewClone(HashMap) - Method in class com.hdcookbook.grin.Feature
This is an implementation method that should not be called direction by applications; applications should call cloneSubgraph().
makeProfileTimer(String) - Static method in class com.hdcookbook.grin.util.Profile
Allocates buffer and returns UTF-8 bytes for the string representing profile information.
makeSticky() - Method in class com.hdcookbook.grin.util.ManagedImage
Make this image "sticky".
ManagedFullImage - Class in com.hdcookbook.grin.util
A managed image that's loaded from its own image file (and not as a part of a mosaic).
ManagedImage - Class in com.hdcookbook.grin.util
An image that is managed by the GRIN utilities.
ManagedSubImage - Class in com.hdcookbook.grin.util
This represents an image that has been packed into a mosaic.
mapDrawTarget(Hashtable) - Method in class com.hdcookbook.grin.features.SetTarget
Internal use only.
mapDrawTargets(Hashtable) - Method in interface com.hdcookbook.grin.animator.AnimationClient
Map draw target names into the numeric values that are required by the animation engine.
mapDrawTargets(Hashtable) - Method in class com.hdcookbook.grin.Show
Map draw target names into the numeric values that are required by the animation engine.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.Feature
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.Assembly
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.Box
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.FixedImage
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.Group
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.ImageSequence
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.InterpolatedModel
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.Modifier
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.features.Text
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
markDisplayAreasChanged() - Method in class com.hdcookbook.grin.media.Playlist
Mark the display areas of this feature as modified for the next call to addDisplayAreas.
markReached(PlaybackMarkEvent) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Callback from PlaybackListener
markTimes - Variable in class com.hdcookbook.grin.media.Playlist
 
mask - Variable in class com.hdcookbook.grin.input.CommandRCHandler
 
MASK - Static variable in class com.hdcookbook.grin.input.VisualRCHandler
 
MESSAGE - Static variable in class com.hdcookbook.grin.util.Profile
 
MIDDLE - Static variable in class com.hdcookbook.grin.features.Text
Value for alignment indicating that x refers to the middle of the text.
MIDDLE - Static variable in class com.hdcookbook.grin.fontstrip.FontStripText
Value for alignment indicating that x refers to the middle of the text.
model - Variable in class com.hdcookbook.grin.features.ImageSequence
 
model - Variable in class com.hdcookbook.grin.features.Translator
 
modelIsRelative - Variable in class com.hdcookbook.grin.features.Translator
 
modelTimeSkipped - Variable in class com.hdcookbook.grin.animator.AnimationEngine
 
Modifier - Class in com.hdcookbook.grin.features
Abstract base class for features that modify a single child feature.
Modifier(Show, String) - Constructor for class com.hdcookbook.grin.features.Modifier
 
Modifier(Show) - Constructor for class com.hdcookbook.grin.features.Modifier
 
MOUSE_CLICK - Static variable in class com.hdcookbook.grin.GrinXHelper
The commandNumber for handling MOUSE_CLICK event
MOUSE_MOVE - Static variable in class com.hdcookbook.grin.GrinXHelper
The commandNumber for handling MOUSE_MOVE event
mouseClicked(MouseEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
Mouse clicked callback
mouseDragged(MouseEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
Mouse motion callback (when a button is down)
mouseEntered(MouseEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
Mouse entered callback
mouseExited(MouseEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
Mouse exited callback
mouseMoved(MouseEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
Mouse motion callback
mousePressed(MouseEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
Mouse pressed callback
mouseRects - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
mouseRectStates - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
mouseReleased(MouseEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
Mouse released callback
moveDebugLogDown() - Method in class com.hdcookbook.grinxlet.XletDirector
 
moveDebugLogLeft() - Method in class com.hdcookbook.grinxlet.XletDirector
 
moveDebugLogRight() - Method in class com.hdcookbook.grinxlet.XletDirector
 
moveDebugLogUp() - Method in class com.hdcookbook.grinxlet.XletDirector
 

N

name - Variable in class com.hdcookbook.grin.Feature
The name of this feature within the show.
name - Variable in class com.hdcookbook.grin.input.RCHandler
 
name - Variable in class com.hdcookbook.grin.Segment
 
needsFullRedrawInAnimationLoop() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Tell us whether or not this style of animation requires a full redraw of everything on the screen in each pass through the animation loop.
needsFullRedrawInAnimationLoop() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Tell us whether or not this style of animation requires a full redraw of everything on the screen in each pass through the animation loop.
needsFullRedrawInAnimationLoop() - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Tell us whether or not this style of animation requires a full redraw of everything on the screen in each pass through the animation loop.
needsFullRedrawInAnimationLoop() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Tell us whether or not this style of animation requires a full redraw of everything on the screen in each pass through the animation loop.
needsMoreSetup() - Method in class com.hdcookbook.grin.Feature
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.Assembly
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.Box
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.FixedImage
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.Group
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.ImageSequence
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.InterpolatedModel
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.Modifier
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.features.Text
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in class com.hdcookbook.grin.media.Playlist
This is where the feaure says whether or not it needs more setup.
needsMoreSetup() - Method in interface com.hdcookbook.grin.util.SetupClient
This is where the feature (or other kind of SetupClient) says whether or not it needs more setup.
NetworkManager - Class in com.hdcookbook.grin.util
This class runs a thread that is used for communicating with a server via a socket.
NetworkManager() - Constructor for class com.hdcookbook.grin.util.NetworkManager
 
nextCommands - Variable in class com.hdcookbook.grin.Segment
 
nextFrame() - Method in interface com.hdcookbook.grin.animator.AnimationClient
Advance the state of the show to the next frame.
nextFrame() - Method in class com.hdcookbook.grin.Feature
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.Assembly
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.Box
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.Fade
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.FixedImage
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.Group
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.ImageSequence
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.InterpolatedModel
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.Modifier
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.Text
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.features.Translator
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
nextFrame() - Method in class com.hdcookbook.grin.input.CommandRCHandler
Called by the show to let us know as the model progresses through time.
nextFrame() - Method in class com.hdcookbook.grin.input.RCHandler
Called by the show to let us know as the model progresses through time.
nextFrame() - Method in class com.hdcookbook.grin.input.VisualRCHandler
Called by the show to let us know as the model progresses through time.
nextFrame() - Method in class com.hdcookbook.grin.media.Playlist
Called from Segment with the Show lock held, to advance us to the state we should be in for the next frame.
nextFrame() - Method in class com.hdcookbook.grin.Show
Advance the state of the show to the next frame.
nextOnSetupDone - Variable in class com.hdcookbook.grin.Segment
 
Node - Interface in com.hdcookbook.grin
Defines methods needed to construct Show from a binary file.
notifyAssemblyPartSelected(Assembly, Feature, Feature, boolean) - Method in class com.hdcookbook.grin.Director
Notify the director that a new part has been selected within an assembly.
notifyDestroyed() - Method in class com.hdcookbook.grin.Director
Notifies the director that the underlying show has been destroyed.
notifyDestroyed() - Method in class com.hdcookbook.grinxlet.XletDirector
Notifies the director that the underlying show has been destroyed.
notifyLoaded(ManagedFullImage) - Static method in class com.hdcookbook.grin.util.AssetFinder
Called by ManagedFullImage when an image finishes loading.
notifyLoadedHelper(ManagedFullImage) - Method in class com.hdcookbook.grin.util.AssetFinder
Called when a ManagedFullImage has finished loading.
notifyNextFrame() - Method in class com.hdcookbook.grin.Director
Notify the director that the model is moving to the next frame.
notifySegmentActivated(Segment, Segment) - Method in class com.hdcookbook.grin.Director
Notify the director that a new segment has been activated.
notifyUnloaded(ManagedFullImage, int, int) - Static method in class com.hdcookbook.grin.util.AssetFinder
Called by ManagedFullImage when a loaded image has been unloaded (flushed).
notifyUnloadedHelper(ManagedFullImage, int, int) - Method in class com.hdcookbook.grin.util.AssetFinder
Called when a ManagedFullImage has been unloaded (flushed).

O

OFFSCREEN - Static variable in class com.hdcookbook.grin.features.Translator
A special value to use to translate something offscreen.
onActivate - Variable in class com.hdcookbook.grin.media.Playlist
 
onDeactivate - Variable in class com.hdcookbook.grin.media.Playlist
 
onEntryCommands - Variable in class com.hdcookbook.grin.media.Playlist
 
onEntryCommands - Variable in class com.hdcookbook.grin.Segment
 
onMediaEnd - Variable in class com.hdcookbook.grin.media.Playlist
 
onMediaStart - Variable in class com.hdcookbook.grin.media.Playlist
 
outlineColor - Variable in class com.hdcookbook.grin.features.Box
 
outlineWidthX - Variable in class com.hdcookbook.grin.features.Box
 
outlineWidthY - Variable in class com.hdcookbook.grin.features.Box
 

P

paintDone() - Method in interface com.hdcookbook.grin.animator.AnimationClient
Called when the animation framework is done painting the current frame.
paintDone() - Method in class com.hdcookbook.grin.Show
Called when the animation framework is done painting the current frame.
paintFrame(Graphics2D) - Method in interface com.hdcookbook.grin.animator.AnimationClient
Paint the current frame of the animation.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Paint the current frame into the given graphics object.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.Feature
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Assembly
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Box
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Clipped
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Fade
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.FixedImage
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Group
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.GuaranteeFill
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.ImageSequence
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.InterpolatedModel
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Modifier
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.SrcOver
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Text
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.features.Translator
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.media.Playlist
Paint the current state of this feature to gr.
paintFrame(Graphics2D) - Method in class com.hdcookbook.grin.Show
Paint the current frame of the animation.
paintNextFrameFully() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Sets this engine so that the next frame will be painted in its entirety, with no redraw optimization.
paintTargets(Graphics2D) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Paint the current set of target areas in our RenderContext for the current frame into the given graphics object.
part - Variable in class com.hdcookbook.grin.commands.ActivatePartCommand
 
part - Variable in class com.hdcookbook.grin.features.Modifier
 
partNames - Variable in class com.hdcookbook.grin.features.Assembly
 
parts - Variable in class com.hdcookbook.grin.features.Assembly
 
pause() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Pause the currently running animations.
pause() - Method in class com.hdcookbook.grin.animator.ClockBasedEngine
Pause the currently running animations.
pause() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Pause the currently running animations.
pauseXlet() - Method in class com.hdcookbook.grinxlet.GrinXlet
 
placement - Variable in class com.hdcookbook.grin.features.FixedImage
 
placements - Variable in class com.hdcookbook.grin.features.ImageSequence
 
PlayerWrangler - Class in com.hdcookbook.grin.media
This is a singleton class that's used to control A/V playback on the primary JMF player.
playItemReached(PlaybackPlayItemEvent) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Callback from PlaybackListener
Playlist - Class in com.hdcookbook.grin.media
 
Playlist(Show) - Constructor for class com.hdcookbook.grin.media.Playlist
 
pop - Variable in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
popKeyInterest() - Method in class com.hdcookbook.grinxlet.GrinXlet
Removes the show at the top of the key interest stack.
popSegmentStack() - Method in class com.hdcookbook.grin.Show
Used by the activate segment command.
prepare() - Method in class com.hdcookbook.grin.util.ManagedFullImage
Prepare this image for display, by registering interest in having the image be loaded.
prepare() - Method in class com.hdcookbook.grin.util.ManagedImage
Prepare this image for display, by registering interest in having the image be loaded.
prepare() - Method in class com.hdcookbook.grin.util.ManagedSubImage
Prepare this image for display, by registering interest in having the image be loaded.
print(String) - Static method in class com.hdcookbook.grinxlet.DebugLog
Add s to the debug log, without a line break at the end.
println() - Static method in class com.hdcookbook.grin.util.Debug
 
println(Object) - Static method in class com.hdcookbook.grin.util.Debug
 
println(String) - Static method in class com.hdcookbook.grinxlet.DebugLog
Add s to the debug log, with a line break at the end.
printStackTrace(Throwable) - Static method in class com.hdcookbook.grin.util.Debug
Print a stack trace to the debug log, if Debug.LEVEL > 0.
PROFILE - Static variable in class com.hdcookbook.grin.util.Debug
Variable to say if time profiling is enabled.
Profile - Class in com.hdcookbook.grin.util
Profiling support.
PROFILE_ANIMATION - Static variable in class com.hdcookbook.grin.util.Debug
Variable to say if animation profiling is enabled.
PROFILE_SETUP - Static variable in class com.hdcookbook.grin.util.Debug
Variable to say if setup profiling is enabled.
publicFeatures - Variable in class com.hdcookbook.grin.Show
 
publicNamedCommands - Variable in class com.hdcookbook.grin.Show
 
publicRCHandlers - Variable in class com.hdcookbook.grin.Show
 
publicSegments - Variable in class com.hdcookbook.grin.Show
 
push - Variable in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
pushCurrentSegment() - Method in class com.hdcookbook.grin.Show
Used by the activate segment command.
pushKeyInterest(Show) - Method in class com.hdcookbook.grinxlet.GrinXlet
Inserts a new Show at the top of the key interest stack.

Q

Queue - Class in com.hdcookbook.grin.util
This class maintains a queue that avoids generating heap traffic.
Queue(int) - Constructor for class com.hdcookbook.grin.util.Queue
Create a queue.

R

RCHandler - Class in com.hdcookbook.grin.input
Superclass for remote control keypress handlers.
RCHandler() - Constructor for class com.hdcookbook.grin.input.RCHandler
 
rcHandlers - Variable in class com.hdcookbook.grin.Segment
 
rcHandlers - Variable in class com.hdcookbook.grin.Show
 
RCKeyEvent - Class in com.hdcookbook.grin.input
This class is used to manage constants related to the remote control keys.
RCKeyEvent(int, int) - Constructor for class com.hdcookbook.grin.input.RCKeyEvent
Initialize a new key typed event.
rcPressedInterest - Variable in class com.hdcookbook.grin.Segment
The bitmask is formed by or-ing the set of remote control key presses this segment has handlers for.
rcReleasedInterest - Variable in class com.hdcookbook.grin.Segment
The bitmask is formed by or-ing the set of remote control key releases this segment has handlers for.
readBits(DataInputStream, int) - Method in class com.hdcookbook.grin.util.BitStreamIO
Read the given number of bits from dis.
readBitsLong(DataInputStream, int) - Method in class com.hdcookbook.grin.util.BitStreamIO
Read the given number of bits from dis.
readColor() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in and constructs a Color instance.
readCommands() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in information about Commands and reconstructs an array of Commands from it.
readFeatureReference() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in a reference of a feature and returns an instance of the feature.
readFeaturesArrayReference() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in refereces of Features and returns an array of Features corresponding to the references.
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.commands.ActivatePartCommand
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.commands.ResetFeatureCommand
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.Assembly
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.Box
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.Clipped
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.Fade
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.FixedImage
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.Group
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.GuaranteeFill
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.ImageSequence
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.InterpolatedModel
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.SetTarget
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.SrcOver
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.Text
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.features.Translator
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.GrinXHelper
Reads in this node information from the binary file format.
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.input.CommandRCHandler
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.input.VisualRCHandler
 
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.media.Playlist
 
readInstanceData(GrinDataInputStream, int) - Method in interface com.hdcookbook.grin.Node
Reads in this node information from the binary file format.
readInstanceData(GrinDataInputStream, int) - Method in class com.hdcookbook.grin.Segment
 
readIntArray() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in and constructs an array of integer.
readJSON(Reader) - Static method in class com.hdcookbook.grin.util.JsonIO
Read a JSON object from rdr.
readRCHandlerReference() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in a reference of an RCHandler and returns an instance of the RCHandler.
readRCHandlersArrayReference() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in refereces of RCHandler and returns an array of the RCHandler.
readRectangle() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in and constructs a Rectangle instance.
readRectangleArray() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in and constructs an array of Rectangle.
readSegmentReference() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in a reference of a segment and returns an instance of the segment.
readSharedIntArray() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in an reference to an integer array.
readSharedRectangle() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
 
readSharedRectangleArray() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
 
readShow(Show) - Method in class com.hdcookbook.grin.io.binary.GrinBinaryReader
Reconstructs the Show object passed in as argument.
readString() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in and constructs a String instance.
readStringArray() - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in and constructs an array of Strings.
readSuperClassData(Feature) - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in information common to all Feature types.
readSuperClassData(RCHandler) - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in information common to all RChandler types.
readSuperClassData(Segment) - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in information common to all Segment types.
readSuperClassData(Command) - Method in class com.hdcookbook.grin.io.binary.GrinDataInputStream
Reads in information common to all Command types.
remove() - Method in class com.hdcookbook.grin.util.Queue
 
renderContext - Variable in class com.hdcookbook.grin.animator.AnimationEngine
The list of erase and drawing areas that were updated in the current frame of animation, and records of what happened in the last.
RenderContext - Class in com.hdcookbook.grin.animator
This class represents a context for tracking the updates that will be needed to render the next frame of animation.
RenderContext() - Constructor for class com.hdcookbook.grin.animator.RenderContext
 
repaintBounds - Variable in class com.hdcookbook.grin.animator.AnimationEngine
The area that has been damaged and need to be repainted in the next cycle.
RepaintDrawEngine - Class in com.hdcookbook.grin.animator
An animation engine that uses repaint draw.
RepaintDrawEngine() - Constructor for class com.hdcookbook.grin.animator.RepaintDrawEngine
Create a new RepaintDrawEngine.
repaintFrame(Graphics2D) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Repaint the current frame.
repeat - Variable in class com.hdcookbook.grin.features.ImageSequence
 
repeatFrame - Variable in class com.hdcookbook.grin.features.Fade
 
repeatFrame - Variable in class com.hdcookbook.grin.features.InterpolatedModel
 
replaceImage(ManagedImage) - Method in class com.hdcookbook.grin.features.FixedImage
Set the image being displayed by this FixedImage.
resetAnimationClients(AnimationClient[]) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Reset the set of clients being rendered by a running animation engine.
resetAnimationClients(AnimationClient[]) - Method in class com.hdcookbook.grinxlet.GrinXlet
Reset the list of animation clients
resetFeature() - Method in class com.hdcookbook.grin.Feature
Called from the ResetFeatureCommand, this should reset the internal state of the feature to what it was when first activated.
ResetFeatureCommand - Class in com.hdcookbook.grin.commands
A GRIN command to reset a feature to the state it is in when activated.
ResetFeatureCommand(Show) - Constructor for class com.hdcookbook.grin.commands.ResetFeatureCommand
 
resetLocator(String) - Method in class com.hdcookbook.grin.media.Playlist
Reset the locator.
resetVisibleParts(Feature[]) - Method in class com.hdcookbook.grin.features.Group
Re-sets the parts that are visible in this group to a new set.
resetVisiblePartsNoAssert(Feature[]) - Method in class com.hdcookbook.grin.features.Group
Re-sets the parts that are visible in this group to a new set without performing any of the assertion checks.
resize(int, int, int, int) - Method in class com.hdcookbook.grin.features.Box
Resizes the box.
resizeOutline(int, int) - Method in class com.hdcookbook.grin.features.Box
Resizes the outline around the box.
RIGHT - Static variable in class com.hdcookbook.grin.features.Text
Value for alignment indicating that x refers to the right side of the text.
RIGHT - Static variable in class com.hdcookbook.grin.fontstrip.FontStripText
Value for alignment indicating that x refers to the right side of the text.
rightLeft - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
rightLeftAlternates - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
run() - Method in class com.hdcookbook.grin.animator.AnimationEngine
This is the main loop for animation.
run() - Method in class com.hdcookbook.grin.util.SetupManager
This isn't really public; it's only called by our worker thread.
run() - Method in class com.hdcookbook.grinxlet.DebugLog
 
runAnimationLoop() - Method in class com.hdcookbook.grin.animator.AnimationEngine
The inner loop for the animation thread.
runAnimationLoop() - Method in class com.hdcookbook.grin.animator.ClockBasedEngine
The inner loop for the animation thread.
runAnimationLoop() - Method in class com.hdcookbook.grin.animator.SFAAEngine
The inner loop for the animation thread.
runCommand(Command) - Method in class com.hdcookbook.grin.Show
Run the given command when we advance to the next frame.
runCommands - Variable in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
runCommands(Command[]) - Method in class com.hdcookbook.grin.Show
Run the given commands when we advance to the next frame.
runSubCommand(int, Show) - Method in class com.hdcookbook.grin.GrinXHelper
Run a sub-command.

S

scale(int, int) - Static method in class com.hdcookbook.grin.Show
Scale a value by a scale factor in mills.
SCALE_X_FACTOR_FIELD - Static variable in class com.hdcookbook.grin.features.InterpolatedModel
For a scale_model, the field for the horizontal scale factor in mills (1/1000)
SCALE_X_FIELD - Static variable in class com.hdcookbook.grin.features.InterpolatedModel
For a scale_model, the field for the X value
SCALE_Y_FACTOR_FIELD - Static variable in class com.hdcookbook.grin.features.InterpolatedModel
For a scale_model, the field for the horizontal scale factor in mills (1/1000)
SCALE_Y_FIELD - Static variable in class com.hdcookbook.grin.features.InterpolatedModel
For a scale_model, the field for the Y value
scaleBounds(int, int, int, int, Rectangle) - Method in class com.hdcookbook.grin.features.InterpolatedModel
Scale the x, y, width and heigh values according to the current values of SCALE_X_FIELD, SCALE_Y_FIELD, SCALE_X_FACTOR_FIELD and SCALE_Y_FACTOR_FIELD, storing them in scaledBounds.
scaledBounds - Variable in class com.hdcookbook.grin.features.Box
 
scaledBounds - Variable in class com.hdcookbook.grin.features.FixedImage
 
scaledBounds - Variable in class com.hdcookbook.grin.features.ImageSequence
 
scalingModel - Variable in class com.hdcookbook.grin.features.Box
 
scalingModel - Variable in class com.hdcookbook.grin.features.FixedImage
 
scalingModel - Variable in class com.hdcookbook.grin.features.ImageSequence
 
scheduleSetup(SetupClient) - Method in class com.hdcookbook.grin.util.SetupManager
 
segment - Variable in class com.hdcookbook.grin.commands.ActivateSegmentCommand
The segment to activate.
Segment - Class in com.hdcookbook.grin
A segment within a show.
Segment() - Constructor for class com.hdcookbook.grin.Segment
 
SEGMENT_DONE - Static variable in class com.hdcookbook.grin.GrinXHelper
The commandNumber for a segment_done command
segmentDone() - Method in class com.hdcookbook.grin.Show
Signal to the show that the current segment is done.
segments - Variable in class com.hdcookbook.grin.Show
 
selectCommands - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
selectFeatures - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
sendFeatureSetup() - Method in class com.hdcookbook.grin.Feature
When a feature finishes its setup, it should call this to tell the show about it.
sendMessage(byte[]) - Static method in class com.hdcookbook.grin.util.Profile
Send a message packet
setActivateMode(boolean) - Method in class com.hdcookbook.grin.Feature
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.Assembly
 
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.Box
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.Fade
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.FixedImage
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.Group
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.ImageSequence
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.InterpolatedModel
 
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.Modifier
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.features.Text
Change the activated mode of this feature.
setActivateMode(boolean) - Method in class com.hdcookbook.grin.fontstrip.FontStripText
 
setActivateMode(boolean) - Method in class com.hdcookbook.grin.media.Playlist
Change the activated mode of this feature.
setAllowOverlappingTargets(boolean) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Sets whether or not overlapping draw targets are allowed.
setAlpha(AlphaComposite) - Method in class com.hdcookbook.grin.features.Fade
Sets the value of this fade's AlpahComposite to value.
setArea(int, int, int, int) - Method in class com.hdcookbook.grin.animator.DrawRecord
Set the area to be drawn to in this frame of animation.
setCaughtUp() - Method in interface com.hdcookbook.grin.animator.AnimationClient
Indicate to the animation client that we're not behind in the animation, so that the current frame will actually be displayed.
setCaughtUp() - Method in class com.hdcookbook.grin.Show
Indicate to the animation client that we're not behind in the animation, so that the current frame will actually be displayed.
setChanged() - Method in class com.hdcookbook.grin.animator.DrawRecord
Flags that the contents of the area being drawn to has changed since the last frame.
setChildChanged() - Method in class com.hdcookbook.grin.features.GuaranteeFill
Set our child's drawing area(s) as modified, if we modify the appearance of our child node.
setChildChanged() - Method in class com.hdcookbook.grin.features.Modifier
Set our child's drawing area(s) as modified, if we modify the appearance of our child node.
setChildChanged() - Method in class com.hdcookbook.grin.features.SetTarget
Set our child's drawing area(s) as modified, if we modify the appearance of our child node.
setCommandNumber(int) - Method in class com.hdcookbook.grin.GrinXHelper
Sets the command number for this class when used as a command.
setCommandObject(Object) - Method in class com.hdcookbook.grin.GrinXHelper
Sets the additional data for this class when used as a command.
setCurrentFeature(Feature) - Method in class com.hdcookbook.grin.features.Assembly
This should not be directly called by clients of the GRIN framework, unless it is done from the animation thread (within a command body, or inside an implementation of Director.nextFrame()).
setCurrentFrame(int) - Method in class com.hdcookbook.grin.features.ImageSequence
Set the current frame within the animation.
setDebugDraw(boolean) - Method in class com.hdcookbook.grinxlet.DebugDirectDrawEngine
Tell us if we should step through each frame showing erase, paint areas, then painted result
setDebugDraw(boolean) - Method in class com.hdcookbook.grinxlet.XletDirector
 
setDrawTargetCollapseThreshold(int) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Sets the threshold of the number of pixels of increased drawing the engine is willing to tolerate in order to collapse two draw targets into one.
setDrawTargets(String[]) - Method in class com.hdcookbook.grin.Show
Used to build the show, or to reinitialize it.
setField(int, int) - Method in class com.hdcookbook.grin.features.InterpolatedModel
Sets the value of a field to value.
setFps(int) - Method in class com.hdcookbook.grin.animator.ClockBasedEngine
Set the frame rate of the animation, in 1001sts of a second.
setFps(int) - Method in class com.hdcookbook.grinxlet.DebugDirectDrawEngine
Set the frame rate of the animation, in 1001sts of a second.
setFramerate() - Method in class com.hdcookbook.grinxlet.XletDirector
 
setHelper(AssetFinder) - Static method in class com.hdcookbook.grin.util.AssetFinder
An xlet can make an instance of a subclass of AssetFinder, and connect it to us by calling this method.
setImageMap(String) - Static method in class com.hdcookbook.grin.util.AssetFinder
Sets the image map.
setImageMap(String[]) - Static method in class com.hdcookbook.grin.util.AssetFinder
Sets the image map to the concatination of the maps in the given files.
setImageSizeChanged() - Method in class com.hdcookbook.grin.features.FixedImage
Notify us that our image size has changed.
setLocator(String) - Method in class com.hdcookbook.grin.media.Playlist
 
setMediaTime(long) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Sets the current media time in ns.
setMediaTimeMS(int) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Sets the current media time in ns.
setName(String) - Method in class com.hdcookbook.grin.Feature
Sets a name for this feature.
setName(String) - Method in class com.hdcookbook.grin.input.RCHandler
 
setName(String) - Method in class com.hdcookbook.grin.Segment
Set this segment's name.
setParts(String[], Feature[]) - Method in class com.hdcookbook.grin.features.Assembly
 
setParts(Feature[]) - Method in class com.hdcookbook.grin.features.Group
Set the parts that make up this group.
setRate(float) - Method in class com.hdcookbook.grin.media.PlayerWrangler
Sets the rate of playback, subject to the restrictions of the BD spec.
setScale(int, int, int, int) - Method in class com.hdcookbook.grin.Show
Sets the scale and offset values for a show.
setSearchPath(String[], File[]) - Static method in class com.hdcookbook.grin.util.AssetFinder
 
setSegmentStackDepth(int) - Method in class com.hdcookbook.grin.Show
Used to build the show.
setSemiTransparent() - Method in class com.hdcookbook.grin.animator.DrawRecord
Flags that some of the pixels in the area to be drawn might be transparent or semi-transparent, either because they're not drawn to, or because they're drawn to in SrcOver mode.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.Feature
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.Assembly
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.Box
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.FixedImage
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.Group
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.ImageSequence
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.InterpolatedModel
 
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.Modifier
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.features.Text
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.fontstrip.FontStripText
Change the setup mode of this feature.
setSetupMode(boolean) - Method in class com.hdcookbook.grin.media.Playlist
Change the setup mode of this feature.
setSFAA(SyncFrameAccurateAnimation) - Method in class com.hdcookbook.grin.animator.SFAAEngine
Sets the SFAA instance to be used by this engine.
setShow(Show) - Method in class com.hdcookbook.grin.input.RCHandler
 
setState(int, boolean, boolean) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Called from InvokeVisualCellCommand, and from internal methods.
setState(int, boolean, boolean, int) - Method in class com.hdcookbook.grin.input.VisualRCHandler
Called from InvokeVisualCellCommand, and from internal methods.
setSubCommands(Command[]) - Method in class com.hdcookbook.grin.GrinXHelper
Sets the sub-commands array for this class when used as a java_command.
setTarget(int) - Method in class com.hdcookbook.grin.animator.RenderContext
Set the render area target for this context to direct its calls for adding areas.
SetTarget - Class in com.hdcookbook.grin.features
Causes its child use a different target in its RenderContext.
SetTarget(Show) - Constructor for class com.hdcookbook.grin.features.SetTarget
 
setText(String[]) - Method in class com.hdcookbook.grin.features.Text
Change the text to display.
setText(String[]) - Method in class com.hdcookbook.grin.fontstrip.FontStripText
Change the text to display.
setThreadPriority(int) - Method in class com.hdcookbook.grin.animator.AnimationEngine
Set the priority of the thread that runs the animation loop.
settingUpFeatures - Variable in class com.hdcookbook.grin.Segment
 
setUIState() - Method in class com.hdcookbook.grinxlet.XletDirector
Sets the UI state to match the model.
setup(Segment) - Method in class com.hdcookbook.grin.commands.ActivateSegmentCommand
 
setup() - Method in class com.hdcookbook.grin.Feature
Called by the show when it's time to begin setting up this feature.
setup(Feature) - Method in class com.hdcookbook.grin.features.Modifier
Called from the parser.
SetupClient - Interface in com.hdcookbook.grin.util
This interface is implemented by things in GRIN that want to get called by the setup manager thread, to do things like load images.
setupManager - Variable in class com.hdcookbook.grin.Show
Our helper that calls into us to load images and such.
SetupManager - Class in com.hdcookbook.grin.util
A SetupManager manages a low-priority thread that's used to set up GRIN features, by doing things like loading images.
SetupManager(int) - Constructor for class com.hdcookbook.grin.util.SetupManager
Create a SetupManager for setting up a maximum of numFeatures clients.
SetVisualRCStateCommand - Class in com.hdcookbook.grin.commands
This command is used to set the state of a visual RC handler.
SetVisualRCStateCommand(Show) - Constructor for class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
SetVisualRCStateCommand(Show, boolean, int, VisualRCHandler, boolean) - Constructor for class com.hdcookbook.grin.commands.SetVisualRCStateCommand
Constructor for use by xlets that want to set a handler state
SetVisualRCStateCommand(Show, boolean, int, VisualRCHandler, boolean, int) - Constructor for class com.hdcookbook.grin.commands.SetVisualRCStateCommand
Constructor for use by xlets that want to set a handler state
SFAAEngine - Class in com.hdcookbook.grin.animator
An animation engine that draws into an instance of org.bluray.ui.SyncFrameAccurateAnimation.
SFAAEngine(long, boolean) - Constructor for class com.hdcookbook.grin.animator.SFAAEngine
Create a new SFAAEngine.
show - Variable in class com.hdcookbook.grin.commands.Command
 
show - Variable in class com.hdcookbook.grin.Feature
 
show - Variable in class com.hdcookbook.grin.input.RCHandler
 
show - Variable in class com.hdcookbook.grin.Segment
 
Show - Class in com.hdcookbook.grin
Represents a show.
Show(Director) - Constructor for class com.hdcookbook.grin.Show
Create a new show.
show - Variable in class com.hdcookbook.grinxlet.GrinXlet
 
showFrame() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Tell the model we're caught up, and show the current frame.
ShowInitializer - Class in com.hdcookbook.grin
This is a small data holder used for a Show.
ShowInitializer() - Constructor for class com.hdcookbook.grin.ShowInitializer
 
showTop - Variable in class com.hdcookbook.grin.Show
This is a dummy segment which contains one feature in its activated feature array, which represents the top of the rendering tree.
showTopGroup - Variable in class com.hdcookbook.grin.Show
A group representing a set of activated features in the currently activated Segment.
shutdown() - Static method in class com.hdcookbook.grin.util.NetworkManager
 
shutdownDebugListener() - Static method in class com.hdcookbook.grinxlet.DebugLog
 
skipDebugLogTo(int) - Method in class com.hdcookbook.grinxlet.XletDirector
 
skipFrames(int) - Method in class com.hdcookbook.grin.animator.ClockBasedEngine
Skip ahead the given number of frames.
srcOver - Variable in class com.hdcookbook.grin.features.Fade
 
SrcOver - Class in com.hdcookbook.grin.features
Causes its child to be painted in SRC_OVER mode, that is, with graphic-to-graphics alpha blending.
SrcOver(Show) - Constructor for class com.hdcookbook.grin.features.SrcOver
 
start() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Start the current animations.
start() - Method in class com.hdcookbook.grin.animator.ClockBasedEngine
Start the current animations.
start() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Start the current animations.
start() - Method in class com.hdcookbook.grin.media.Playlist
Start video playback.
start() - Static method in class com.hdcookbook.grin.util.NetworkManager
 
start() - Method in class com.hdcookbook.grin.util.SetupManager
Start providing service from this SetupManager.
startDebugListener() - Static method in class com.hdcookbook.grinxlet.DebugLog
Start the DebugLog listening for incoming telnet connections.
startLoading(Component) - Method in class com.hdcookbook.grin.util.ManagedFullImage
Start loading an image.
startLoading(Component) - Method in class com.hdcookbook.grin.util.ManagedImage
Start loading an image.
startLoading(Component) - Method in class com.hdcookbook.grin.util.ManagedSubImage
Start loading an image.
startSelected - Variable in class com.hdcookbook.grin.input.VisualRCHandler
Flag that, if true, makes the handler start out in the selected state.
startTimer(byte[], byte) - Static method in class com.hdcookbook.grin.util.Profile
Signals starting the timer on the remote computer.
startXlet() - Method in class com.hdcookbook.grinxlet.GrinXlet
 
state - Variable in class com.hdcookbook.grin.commands.SetVisualRCStateCommand
 
stateNames - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
stickyImages - Variable in class com.hdcookbook.grin.Show
This is the set of images that are "sticky".
stop() - Method in class com.hdcookbook.grin.media.Playlist
Stop video playback.
stop() - Method in class com.hdcookbook.grin.util.SetupManager
Stop providing service from this SetupManager.
stopTimer(int) - Static method in class com.hdcookbook.grin.util.Profile
Signals stopping the timer on the remote computer.
strings - Variable in class com.hdcookbook.grin.features.Text
 
strings - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
 
subCommands - Variable in class com.hdcookbook.grin.GrinXHelper
 
SYNC_DISPLAY - Static variable in class com.hdcookbook.grin.GrinXHelper
The commandNumber for a sync_display command
syncDisplay() - Method in class com.hdcookbook.grin.Show
Synchronize the display to the current show state.

T

target - Variable in class com.hdcookbook.grin.features.SetTarget
 
targetName - Variable in class com.hdcookbook.grin.features.SetTarget
 
targetsCanOverlap - Variable in class com.hdcookbook.grin.animator.AnimationEngine
 
terminatingEraseScreen() - Method in class com.hdcookbook.grin.animator.AnimationEngine
Erase the screen because the AnimationManager is terminating.
terminatingEraseScreen() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
Erase the screen because the AnimationManager is terminating.
terminatingEraseScreen() - Method in class com.hdcookbook.grin.animator.RepaintDrawEngine
Erase the screen because the AnimationManager is terminating.
terminatingEraseScreen() - Method in class com.hdcookbook.grin.animator.SFAAEngine
Erase the screen because the AnimationManager is terminating.
Text - Class in com.hdcookbook.grin.features
Display text.
Text(Show) - Constructor for class com.hdcookbook.grin.features.Text
 
TID_ANIMATION - Static variable in class com.hdcookbook.grin.util.Profile
Constant for the thread ID of the GRIN animation thread.
TID_SETUP - Static variable in class com.hdcookbook.grin.util.Profile
Constant for the thread ID of the GRIN setup thread.
timeout - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
timeoutCommands - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
TIMER_START - Static variable in class com.hdcookbook.grin.util.Profile
 
TIMER_STOP - Static variable in class com.hdcookbook.grin.util.Profile
 
TOP - Static variable in class com.hdcookbook.grin.features.Text
Value for alignment indicating that y refers to the top side of the text.
TOP - Static variable in class com.hdcookbook.grin.fontstrip.FontStripText
Value for alignment indicating that y refers to the top side of the text.
toString() - Method in class com.hdcookbook.grin.animator.DirectDrawEngine
 
toString() - Method in class com.hdcookbook.grin.commands.Command
Return a user-friendly string for this command for debugging purposes.
toString() - Method in class com.hdcookbook.grin.Feature
 
toString() - Method in class com.hdcookbook.grin.GrinXHelper
Return a user-friendly string for this command for debugging purposes.
toString() - Method in class com.hdcookbook.grin.input.RCHandler
 
toString() - Method in class com.hdcookbook.grin.input.VisualRCHandler
Give a developer-friendly string describing this handler.
toString() - Method in class com.hdcookbook.grin.Segment
 
toString() - Method in class com.hdcookbook.grin.util.ManagedImage
 
Translator - Class in com.hdcookbook.grin.features
A Translator wraps other features, and adds movement taken from a translator model (represented at runtime by an InterpolatedModel) to it.
Translator(Show) - Constructor for class com.hdcookbook.grin.features.Translator
 
transparent - Static variable in class com.hdcookbook.grin.animator.AnimationEngine
A useful constant that's used extensively by engines
tryURL(String) - Static method in class com.hdcookbook.grin.util.AssetFinder
Try to get an asset that might not be there.
tryURLHelper(String) - Method in class com.hdcookbook.grin.util.AssetFinder
Helper subclass can override this in order to search for generic assets, like images.

U

ungetImage(ManagedImage) - Static method in class com.hdcookbook.grin.util.ImageManager
Called when an image acquired with getImage is no longer needed.
unmakeSticky() - Method in class com.hdcookbook.grin.util.ManagedImage
Undo the effects of one call to makeSticky().
unprepare() - Method in class com.hdcookbook.grin.util.ManagedFullImage
Undo a prepare.
unprepare() - Method in class com.hdcookbook.grin.util.ManagedImage
Undo a prepare.
unprepare() - Method in class com.hdcookbook.grin.util.ManagedSubImage
Undo a prepare.
unsetup() - Method in class com.hdcookbook.grin.Feature
Called by the show when this feature is no longer needed by whatever contains it.
upDown - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
upDownAlternates - Variable in class com.hdcookbook.grin.input.VisualRCHandler
 
userEventReceived(UserEvent) - Method in class com.hdcookbook.grinxlet.GrinXlet
A remote control event that is coming in via org.dvb.event.UserEventListener

V

values - Variable in class com.hdcookbook.grin.features.InterpolatedModel
 
VisualRCHandler - Class in com.hdcookbook.grin.input
A VisualRCHandler models interaction with the remote control and the mouse as a grid of cells.
VisualRCHandler() - Constructor for class com.hdcookbook.grin.input.VisualRCHandler
 
vspace - Variable in class com.hdcookbook.grin.features.Text
 
vspace - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
 

W

wantKeypress - Variable in class com.hdcookbook.grin.input.CommandRCHandler
 
width - Variable in class com.hdcookbook.grin.features.Box
 
writeBits(DataOutputStream, int, int) - Method in class com.hdcookbook.grin.util.BitStreamIO
Write the given bits to dos.
writeBitsLong(DataOutputStream, int, long) - Method in class com.hdcookbook.grin.util.BitStreamIO
 
writeJSON(Writer, Object) - Static method in class com.hdcookbook.grin.util.JsonIO
Write a JSON object to out.

X

x - Variable in class com.hdcookbook.grin.features.Box
 
X_FIELD - Static variable in class com.hdcookbook.grin.features.Translator
The field number in our model for the X coordinate
xArg - Variable in class com.hdcookbook.grin.features.Text
 
xArg - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
 
xlet - Variable in class com.hdcookbook.grinxlet.XletDirector
 
xletContext - Static variable in class com.hdcookbook.grinxlet.GrinXlet
The XletContext of our game xlet.
XletDirector - Class in com.hdcookbook.grinxlet
The director for the small xlet UI that manages test state using the popup menu.
XletDirector(GrinXlet) - Constructor for class com.hdcookbook.grinxlet.XletDirector
 

Y

y - Variable in class com.hdcookbook.grin.features.Box
 
Y_FIELD - Static variable in class com.hdcookbook.grin.features.Translator
The field number in our model for the Y coordinate
yArg - Variable in class com.hdcookbook.grin.features.Text
 
yArg - Variable in class com.hdcookbook.grin.fontstrip.FontStripText
 

A B C D E F G H I J K L M N O P Q R S T U V W X Y