All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.TaskShelfPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JPanel
|
+----com.sgi.sysadm.ui.TaskShelfPanel
- public class TaskShelfPanel
- extends JPanel
This class uses a JTable and an associated TabelModel to display a
TaskShelf
-
ICON_COLUMN_WIDTH
- A resource TaskShelfPanel.iconColumnWidth that specifies
the width in points of columns that contain icons.
-
INTERCELL_HEIGHT
- A resource TaskShelfPanel.IntercellSpacing.height that
specifies the height (in points) of the gap to put between
cells in the table.
-
INTERCELL_WIDTH
- A resource TaskShelfPanel.IntercellSpacing.width that
specifies the width (in points) of the gap to put between cells
in the table.
-
ROW_HEIGHT
- A resource TaskShelfPanel.rowHeight that specifies the
height of the rows in the panel in points.
-
ROWS
- A resource TaskShelfPanel.rows that specifies the
desired height (in rows) of the TaskShelf
-
WIDTH
- A resource TaskShelfPanel.width that specifies the
desired width (in points) of the TaskShelf
-
TaskShelfPanel(UIContext)
-
Constructor that uses a TaskShelfTableModel for the model
-
TaskShelfPanel(UIContext, TaskShelfTableModel)
-
Constructor that allows you to specify an alternate table model
-
addTaskLaunchRequestListener(TaskLaunchRequestListener)
-
Adds a listener to the list that will be notified when a user
requests that a task be launched.
-
removeTaskLaunchRequestListener(TaskLaunchRequestListener)
-
Removes a TaskLaunchRequestListener
-
setItem(Item)
-
Sets the Item that should be passed in the
TaskLaunchRequestEvent if the user launches a task.
-
setTaskList(TaskLoader[])
-
Sets the TaskList to display a list of tasks.
WIDTH
public static final String WIDTH
- A resource TaskShelfPanel.width that specifies the
desired width (in points) of the TaskShelf
ROWS
public static final String ROWS
- A resource TaskShelfPanel.rows that specifies the
desired height (in rows) of the TaskShelf
INTERCELL_WIDTH
public static final String INTERCELL_WIDTH
- A resource TaskShelfPanel.IntercellSpacing.width that
specifies the width (in points) of the gap to put between cells
in the table.
INTERCELL_HEIGHT
public static final String INTERCELL_HEIGHT
- A resource TaskShelfPanel.IntercellSpacing.height that
specifies the height (in points) of the gap to put between
cells in the table.
ROW_HEIGHT
public static final String ROW_HEIGHT
- A resource TaskShelfPanel.rowHeight that specifies the
height of the rows in the panel in points.
ICON_COLUMN_WIDTH
public static final String ICON_COLUMN_WIDTH
- A resource TaskShelfPanel.iconColumnWidth that specifies
the width in points of columns that contain icons.
TaskShelfPanel
public TaskShelfPanel(UIContext uic)
- Constructor that uses a TaskShelfTableModel for the model
- Parameters:
- uic - The UIContext that the Panel can use to display
messages.
TaskShelfPanel
public TaskShelfPanel(UIContext uic,
TaskShelfTableModel tm)
- Constructor that allows you to specify an alternate table model
- Parameters:
- uic - The UIContext that the Panel can use to display
messages.
- tm - The TaskShelfTableModel that will be used to control
the JTable.
setTaskList
public void setTaskList(TaskLoader taskLoaderList[])
- Sets the TaskList to display a list of tasks.
- Parameters:
- taskLoaderList - The list of tasks to display
addTaskLaunchRequestListener
public void addTaskLaunchRequestListener(TaskLaunchRequestListener listener)
- Adds a listener to the list that will be notified when a user
requests that a task be launched.
- Parameters:
- listener - The listener to add.
removeTaskLaunchRequestListener
public void removeTaskLaunchRequestListener(TaskLaunchRequestListener listener)
- Removes a TaskLaunchRequestListener
- Parameters:
- listener - The listener to remove.
setItem
public void setItem(Item item)
- Sets the Item that should be passed in the
TaskLaunchRequestEvent if the user launches a task.
- Parameters:
- item - The item. Can be null if there is no applicable item.
All Packages Class Hierarchy This Package Previous Next Index