Package difar.display
Class DifarDisplayContainer
java.lang.Object
userDisplay.UserDisplayComponentAdapter
difar.display.DifarDisplayContainer
- All Implemented Interfaces:
UserDisplayComponent
This is a main panel which will hold as many other panels as
we need for the DIFAR display system. In principle, this can be included
in either a panel for a user display or could very quickly adapt to go in
it's own tab panel.
Depending on the state of DifarControl.SPLITDISPLAYS it may contain everything,
or just the difargram part.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the component is removed from the display.Get a title for the frame the component will be added to.void
notifyModelChanged
(int changeType) Pick up model changed notifications from a parent user display.void
Called when the component is first displayed.Methods inherited from class userDisplay.UserDisplayComponentAdapter
getUniqueName, setUniqueName
-
Constructor Details
-
DifarDisplayContainer
- Parameters:
difarControl
-
-
-
Method Details
-
getComponent
- Returns:
- The Swing component to add to the frame
-
openComponent
public void openComponent()Description copied from interface:UserDisplayComponent
Called when the component is first displayed.- Specified by:
openComponent
in interfaceUserDisplayComponent
- Overrides:
openComponent
in classUserDisplayComponentAdapter
-
closeComponent
public void closeComponent()Description copied from interface:UserDisplayComponent
Called when the component is removed from the display.- Specified by:
closeComponent
in interfaceUserDisplayComponent
- Overrides:
closeComponent
in classUserDisplayComponentAdapter
-
notifyModelChanged
public void notifyModelChanged(int changeType) Description copied from interface:UserDisplayComponent
Pick up model changed notifications from a parent user display.- Specified by:
notifyModelChanged
in interfaceUserDisplayComponent
- Overrides:
notifyModelChanged
in classUserDisplayComponentAdapter
-
getFrameTitle
Description copied from interface:UserDisplayComponent
Get a title for the frame the component will be added to.- Specified by:
getFrameTitle
in interfaceUserDisplayComponent
- Overrides:
getFrameTitle
in classUserDisplayComponentAdapter
- Returns:
- a title for the components frame.
-