Package loggerForms
Class FormsTabPanel
java.lang.Object
loggerForms.FormsTabPanel
- All Implemented Interfaces:
PamTabPanel
The top-level Logger GUI element -- a Tab in the swing GUI.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createMenu
(Frame parentFrame) getPanel()
void
Called when forms are to be regenerated.void
setTabName
(FormDescription formDescription) Set the name of a tab using the default name.void
setTabName
(FormDescription formDescription, String newName) Set the name of a tab.
-
Constructor Details
-
FormsTabPanel
-
-
Method Details
-
getMainTabbedPane
-
createMenu
- Specified by:
createMenu
in interfacePamTabPanel
- Returns:
- a JMeny for the panel
-
getPanel
- Specified by:
getPanel
in interfacePamTabPanel
- Returns:
- Reference to a graphics component that can be added to the view. This will typically be a JPanel or a JInternalFrame;
-
getToolBar
- Specified by:
getToolBar
in interfacePamTabPanel
- Returns:
- a JToolbas associated with this tab. This will only be displayed when the current tab is activated
-
createForms
public void createForms() -
setTabName
Set the name of a tab using the default name. These can change dynamically as subforms are added and removed.- Parameters:
formDescription
-
-
setTabName
Set the name of a tab. These can change dynamically as subforms are added and removed.- Parameters:
formDescription
-newName
-
-
removeAllForms
public void removeAllForms()Called when forms are to be regenerated.will remove all tabbed panes from the display.
-