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 BeaTunes
getApplication()
Returns the main application component.String
getId()
Unique id for each instance of this object.void
init()
Initializes this component and its sub-components.void
setApplication(BeaTunes beaTunes)
Sets the main application component.void
shutdown()
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:ApplicationComponent
Sets the main application component.- Specified by:
setApplication
in interfaceApplicationComponent<BeaTunes>
- Parameters:
beaTunes
- main application component
-
getApplication
public BeaTunes getApplication()
Description copied from interface:ApplicationComponent
Returns the main application component.- Specified by:
getApplication
in interfaceApplicationComponent<BeaTunes>
- Returns:
- application object
-
getId
public String getId()
Description copied from interface:ApplicationComponent
Unique id for each instance of this object.- Specified by:
getId
in interfaceApplicationComponent<BeaTunes>
- Returns:
- id
-
init
public void init()
Description copied from interface:ApplicationComponent
Initializes this component and its sub-components.- Specified by:
init
in interfaceApplicationComponent<BeaTunes>
-
shutdown
public void shutdown() throws ShutdownVetoException
Description copied from interface:ApplicationComponent
Shuts down this component and its sub-components.- Specified by:
shutdown
in 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
-
-