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 void
finalize()
BeaTunes
getApplication()
Returns the main application component.JComponent
getComponent()
String
getId()
Unique id for each instance of this object.Inspector
getInspector()
JList
getIssueList()
boolean
hasIssues()
void
init()
Initializes this component and its sub-components.void
select(Issue issue)
void
setApplication(BeaTunes beaTunes)
Sets the main application component.void
setInspector(Inspector inspector)
void
shutdown()
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:ApplicationComponent
Returns the main application component.- Specified by:
getApplication
in interfaceApplicationComponent<BeaTunes>
- Returns:
- application object
-
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
-
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()
Description copied from interface:ApplicationComponent
Shuts down this component and its sub-components.- Specified by:
shutdown
in 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$$$()
-
-