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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the component is removed from the display.Get a title for the frame the component will be added to.voidnotifyModelChanged(int changeType) Pick up model changed notifications from a parent user display.voidCalled 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:UserDisplayComponentCalled when the component is first displayed.- Specified by:
openComponentin interfaceUserDisplayComponent- Overrides:
openComponentin classUserDisplayComponentAdapter
-
closeComponent
public void closeComponent()Description copied from interface:UserDisplayComponentCalled when the component is removed from the display.- Specified by:
closeComponentin interfaceUserDisplayComponent- Overrides:
closeComponentin classUserDisplayComponentAdapter
-
notifyModelChanged
public void notifyModelChanged(int changeType) Description copied from interface:UserDisplayComponentPick up model changed notifications from a parent user display.- Specified by:
notifyModelChangedin interfaceUserDisplayComponent- Overrides:
notifyModelChangedin classUserDisplayComponentAdapter- Parameters:
changeType-
-
getFrameTitle
Description copied from interface:UserDisplayComponentGet a title for the frame the component will be added to.- Specified by:
getFrameTitlein interfaceUserDisplayComponent- Overrides:
getFrameTitlein classUserDisplayComponentAdapter- Returns:
- a title for the components frame.
-