com.hdcookbook.grin
Interface SEShowVisitor
- All Known Implementing Classes:
- AbstractSEShowVisitor, SEDoubleUseChecker
public interface SEShowVisitor
Base class for objects that visit a Show tree to perform some operation
on it. This uses the classical Visitor pattern (GoF page 331), except
that the "accept" methods are on SEShow, and not on the nodes themselves.
This is less elegant than a true Visitor pattern, but it's necessary
since most of the node types exist in the xlet library, which doesn't
include this visitor class definition.
Implementers of this interface will have to override each visitXXX() method,
even for node types they're not intersted in. This is a feature, because
it means that as new node types are added, the compiler catches any
visitors that aren't updated for the new node types.
- Author:
- Bill Foote (http://jovial.com)
visitShow
void visitShow(SEShow show)
visitSegment
void visitSegment(SESegment segment)
visitAssembly
void visitAssembly(SEAssembly feature)
visitBox
void visitBox(SEBox feature)
visitClipped
void visitClipped(SEClipped feature)
visitFade
void visitFade(SEFade feature)
visitFixedImage
void visitFixedImage(SEFixedImage feature)
visitGroup
void visitGroup(SEGroup feature)
visitGuaranteeFill
void visitGuaranteeFill(SEGuaranteeFill feature)
visitImageSequence
void visitImageSequence(SEImageSequence feature)
visitSetTarget
void visitSetTarget(SESetTarget feature)
visitSrcOver
void visitSrcOver(SESrcOver feature)
visitText
void visitText(SEText feature)
visitTranslator
void visitTranslator(SETranslator feature)
visitInterpolatedModel
void visitInterpolatedModel(SEInterpolatedModel feature)
visitScalingModel
void visitScalingModel(SEScalingModel feature)
visitTimer
void visitTimer(SETimer feature)
visitTranslatorModel
void visitTranslatorModel(SETranslatorModel feature)
visitMenuAssembly
void visitMenuAssembly(SEMenuAssembly feature)
visitUserDefinedFeature
void visitUserDefinedFeature(Feature feature)
visitUserDefinedModifier
void visitUserDefinedModifier(Modifier modifier)
visitCommandRCHandler
void visitCommandRCHandler(SECommandRCHandler handler)
visitVisualRCHandler
void visitVisualRCHandler(SEVisualRCHandler handler)
visitActivatePartCommand
void visitActivatePartCommand(SEActivatePartCommand command)
visitActivateSegmentCommand
void visitActivateSegmentCommand(SEActivateSegmentCommand command)
visitSegmentDoneCommand
void visitSegmentDoneCommand(SESegmentDoneCommand command)
visitSyncDisplayCommand
void visitSyncDisplayCommand(SESyncDisplayCommand command)
visitRunNamedCommand
void visitRunNamedCommand(SERunNamedCommand command)
visitSetVisualRCStateCommand
void visitSetVisualRCStateCommand(SESetVisualRCStateCommand command)
visitResetFeatureCommand
void visitResetFeatureCommand(SEResetFeatureCommand command)
visitShowCommand
void visitShowCommand(SEShowCommand command)
visitUserDefinedCommand
void visitUserDefinedCommand(Command command)