Class AbstractTransitionInspector
- java.lang.Object
-
- com.tagtraum.beatunes.transitionissue.AbstractTransitionInspector
-
- All Implemented Interfaces:
TransitionInspector,ApplicationComponent<BeaTunes>
- Direct Known Subclasses:
ColorTransition,GenreTransition,KeyTransition,LanguageTransition,MoodTransition,TempoTransition,TimeSignatureTransition,YearTransition
public abstract class AbstractTransitionInspector extends Object implements TransitionInspector
AbstractTransitionInspector.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description AbstractTransitionInspector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeaTunesgetApplication()Returns the main application component.StringgetId()Unique id for each instance of this object.voidinit()Initializes this component and its sub-components.voidsetApplication(BeaTunes beaTunes)Sets the main application component.voidshutdown()Shuts down this component and its sub-components.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tagtraum.beatunes.transitionissue.TransitionInspector
inspect
-
-
-
-
Method Detail
-
setApplication
public void setApplication(BeaTunes beaTunes)
Description copied from interface:ApplicationComponentSets the main application component.- Specified by:
setApplicationin interfaceApplicationComponent<BeaTunes>- Parameters:
beaTunes- main application component
-
getApplication
public BeaTunes getApplication()
Description copied from interface:ApplicationComponentReturns the main application component.- Specified by:
getApplicationin interfaceApplicationComponent<BeaTunes>- Returns:
- application object
-
getId
public String getId()
Description copied from interface:ApplicationComponentUnique id for each instance of this object.- Specified by:
getIdin interfaceApplicationComponent<BeaTunes>- Returns:
- id
-
init
public void init()
Description copied from interface:ApplicationComponentInitializes this component and its sub-components.- Specified by:
initin interfaceApplicationComponent<BeaTunes>
-
shutdown
public void shutdown() throws ShutdownVetoExceptionDescription copied from interface:ApplicationComponentShuts down this component and its sub-components.- Specified by:
shutdownin interfaceApplicationComponent<BeaTunes>- Throws:
ShutdownVetoException- if this component wants to veto the shutdown. This exception is not guaranteed to be honored, i.e. a calling component may simply ignore it
-
-