All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.manager.taskManager.DisplayArea
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JScrollPane
|
+----com.sgi.sysadm.manager.taskManager.DisplayArea
- public class DisplayArea
- extends JScrollPane
- implements TaskManagerProperties
The DisplayArea is the scrolled panel on the
right hand side of the TaskManager window. The contents of the
DisplayArea change in response to the selection of a new category
in the Table of Contents.
-
DisplayArea(HostContext, UIContext)
- Constructor.
-
createTitleComponent(String)
- Create a component that will display a title string.
-
getHostContext()
- Get the HostContext associated with the DisplayArea.
-
getLinkListener()
- Get the shared DisplayArea TaskManagerLinkListener.
-
getUIContext()
- Get the UIContext associated with the DisplayArea.
-
setBorder(JPanel)
- Set the standard DisplayArea border for panel.
-
setComponentAppearance(Component)
- Set the font, foreground, and background of the component to
match the rest of the DisplayArea.
-
showPage(DisplayPage, ResultListener)
- showPage is called when the user selects a category in the
TableOfContents.
DisplayArea
public DisplayArea(HostContext hc,
UIContext uic)
- Constructor.
- Parameters:
- hc - HostContext shared with TaskManager.
- uic - UIContext shared with TaskManager
- pages - The list of pages that can be requested by the
TableOfContents.
showPage
public void showPage(DisplayPage newPage,
ResultListener listener)
- showPage is called when the user selects a category in the
TableOfContents. The DisplayArea will create the new page if
it has not been shown yet and will then display the page.
- Parameters:
- pageNumber - The number of the page to display.
- listener - The listener to notify when the page has been
displayed.
getHostContext
public HostContext getHostContext()
- Get the HostContext associated with the DisplayArea.
- Returns:
- The HostContext associated with the DisplayArea.
getUIContext
public UIContext getUIContext()
- Get the UIContext associated with the DisplayArea.
- Returns:
- The UIContext associated with the DisplayArea.
createTitleComponent
public JComponent createTitleComponent(String title)
- Create a component that will display a title string. The
font and color of this panel will match the rest of the DisplayArea.
- Parameters:
- title - The title to display in the title panel.
- Returns:
- A JComponent that displays title
setComponentAppearance
public void setComponentAppearance(Component comp)
- Set the font, foreground, and background of the component to
match the rest of the DisplayArea.
- Parameters:
- comp - The component whose appearance is to be set.
setBorder
public void setBorder(JPanel panel)
- Set the standard DisplayArea border for panel.
- Parameters:
- panel - The panel whose border is to be set.
getLinkListener
public TaskManagerLinkListener getLinkListener()
- Get the shared DisplayArea TaskManagerLinkListener.
- Returns:
- The shared DisplayArea TaskManagerLinkListener.
All Packages Class Hierarchy This Package Previous Next Index