Package com.tagtraum.beatunes.inspection
Class InspectorView
- java.lang.Object
-
- com.tagtraum.beatunes.inspection.InspectorView
-
- All Implemented Interfaces:
ApplicationComponent<BeaTunes>
public class InspectorView extends Object implements ApplicationComponent<BeaTunes>
View displaying the contents of anInspector, i.e. its issues and their solutions.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description InspectorView(Inspector inspector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent$$$getRootComponent$$$()protected voidfinalize()BeaTunesgetApplication()Returns the main application component.JComponentgetComponent()StringgetId()Unique id for each instance of this object.InspectorgetInspector()JListgetIssueList()booleanhasIssues()voidinit()Initializes this component and its sub-components.voidselect(Issue issue)voidsetApplication(BeaTunes beaTunes)Sets the main application component.voidsetInspector(Inspector inspector)voidshutdown()Shuts down this component and its sub-components.
-
-
-
Constructor Detail
-
InspectorView
public InspectorView(Inspector inspector)
-
-
Method Detail
-
getApplication
public BeaTunes getApplication()
Description copied from interface:ApplicationComponentReturns the main application component.- Specified by:
getApplicationin interfaceApplicationComponent<BeaTunes>- Returns:
- application object
-
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
-
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()
Description copied from interface:ApplicationComponentShuts down this component and its sub-components.- Specified by:
shutdownin interfaceApplicationComponent<BeaTunes>
-
getInspector
public Inspector getInspector()
-
setInspector
public void setInspector(Inspector inspector)
-
getComponent
public JComponent getComponent()
-
getIssueList
public JList getIssueList()
-
select
public void select(Issue issue)
-
hasIssues
public boolean hasIssues()
-
$$$getRootComponent$$$
public JComponent $$$getRootComponent$$$()
-
-