All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.vaccess.VSystemStatusPane
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JPanel
|
+----com.ibm.as400.vaccess.VSystemStatusPane
- public class VSystemStatusPane
- extends JPanel
- implements Serializable
The VSystemStatusPane class represents a visual pane which shows
the system status information.
-
VSystemStatusPane(AS400)
- Constructs a VSystemStatusPane object.
-
addErrorListener(ErrorListener)
- Adds a listener to be notified when an error occurs.
-
addListSelectionListener(ListSelectionListener)
- Adds a listener to be notified when a list selection occurs in the
details pane.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener to be notified when the value of any bound property
changes.
-
addVetoableChangeListener(VetoableChangeListener)
- Adds a listener to be notified when the value of any constrained
property changes.
-
getActionContext()
-
Returns the context in which actions will be performed.
-
getAllowActions()
- Returns the value indicating if actions can be invoked on objects.
-
getDetailsColumnModel()
- Returns the column model that is used to maintain the columns
of the details.
-
getDetailsModel()
- Returns the details model.
-
getDetailsSelectionModel()
-
Returns the selection model that is used to maintain selection state
in the details.
-
getSelectedObject()
- Returns the first selected object.
-
getSelectedObjects()
- Returns the selected objects.
-
getVSystemStatus()
- Returns the VSystemStatus contained in VSystemStatusPane.
-
isAllowModifyAllPools()
- Return true if the modify action to all system pools is allowed; false otherwise.
-
load()
- Loads system status information from the AS/400.
-
removeErrorListener(ErrorListener)
- Removes an error listener.
-
removeListSelectionListener(ListSelectionListener)
- Removes a list selection listener.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a property change listener.
-
removeVetoableChangeListener(VetoableChangeListener)
- Removes a vetoable change listener.
-
setAllowActions(boolean)
- Sets the value indicating whether actions are allowed.
-
setAllowModifyAllPools(boolean)
- Set the state of modify action of all the pools.
-
setConfirm(boolean)
- Sets the value indicating whether certain actions are confirmed
with the user.
-
setDetailsSelectionModel(ListSelectionModel)
- Sets the selection model that is used to maintain selection state
in the details.
-
setRoot(VNode)
- Sets the root, or the AS/400 resource, from which all information
for the model is gathered.
-
sort(Object[], boolean[])
- Sorts the contents.
VSystemStatusPane
public VSystemStatusPane(AS400 system)
- Constructs a VSystemStatusPane object.
- Parameters:
- system - The AS/400 system in which the system status information
resides.
addErrorListener
public void addErrorListener(ErrorListener listener)
- Adds a listener to be notified when an error occurs.
- Parameters:
- listener - The listener.
addListSelectionListener
public void addListSelectionListener(ListSelectionListener listener)
- Adds a listener to be notified when a list selection occurs in the
details pane.
- Parameters:
- listener - The listener.
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Adds a listener to be notified when the value of any bound property
changes.
- Parameters:
- listener - The listener.
- Overrides:
- addPropertyChangeListener in class JComponent
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)
- Adds a listener to be notified when the value of any constrained
property changes.
- Parameters:
- listener - The listener.
- Overrides:
- addVetoableChangeListener in class JComponent
getActionContext
public VActionContext getActionContext()
- Returns the context in which actions will be performed.
- Returns:
- The context.
getAllowActions
public boolean getAllowActions()
- Returns the value indicating if actions can be invoked on objects.
- Returns:
- true if actions can be invoked; false otherwise.
getDetailsColumnModel
public TableColumnModel getDetailsColumnModel()
- Returns the column model that is used to maintain the columns
of the details.
- Returns:
- The column model.
getDetailsModel
public TableModel getDetailsModel()
- Returns the details model.
- Returns:
- The details model.
getDetailsSelectionModel
public ListSelectionModel getDetailsSelectionModel()
- Returns the selection model that is used to maintain selection state
in the details.
- Returns:
- The selection model, or null if selections are not allowed.
getSelectedObject
public VObject getSelectedObject()
- Returns the first selected object.
- Returns:
- The first selected object.
getSelectedObjects
public VObject[] getSelectedObjects()
- Returns the selected objects.
- Returns:
- The selected objects.
getVSystemStatus
public VSystemStatus getVSystemStatus()
- Returns the VSystemStatus contained in VSystemStatusPane.
- Returns:
- The VSystemStatus contained in VSystemStatusPane.
isAllowModifyAllPools
public boolean isAllowModifyAllPools()
- Return true if the modify action to all system pools is allowed; false otherwise.
- Returns:
- true if the modify action to all system pools is allowed; false otherwise.
load
public void load()
- Loads system status information from the AS/400.
removeErrorListener
public void removeErrorListener(ErrorListener listener)
- Removes an error listener.
- Parameters:
- listener - The listener.
removeListSelectionListener
public void removeListSelectionListener(ListSelectionListener listener)
- Removes a list selection listener.
- Parameters:
- listener - The listener.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Removes a property change listener.
- Parameters:
- listener - The listener.
- Overrides:
- removePropertyChangeListener in class JComponent
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)
- Removes a vetoable change listener.
- Parameters:
- listener - The listener.
- Overrides:
- removeVetoableChangeListener in class JComponent
setAllowActions
public void setAllowActions(boolean allowAction)
- Sets the value indicating whether actions are allowed.
- Parameters:
- allowAction - true if actions are allowed; false otherwise.
setAllowModifyAllPools
public void setAllowModifyAllPools(boolean allow)
- Set the state of modify action of all the pools.
- Parameters:
- allowModify - The boolean value.
setConfirm
public void setConfirm(boolean confirm)
- Sets the value indicating whether certain actions are confirmed
with the user.
- Parameters:
- confirm - true if certain actions are confirmed with the user;
false otherwise.
setDetailsSelectionModel
public void setDetailsSelectionModel(ListSelectionModel listSe1)
- Sets the selection model that is used to maintain selection state
in the details.
- Parameters:
- listSe1 - The selection model, or null if selections are not allowed.
setRoot
public void setRoot(VNode root) throws PropertyVetoException
- Sets the root, or the AS/400 resource, from which all information
for the model is gathered.
- Parameters:
- vNode - The root, or the AS/400 resource, from which all
information for the model is gathered.
- Throws: PropertyVetoException
- If the proposed change to root
is unacceptable.
sort
public void sort(Object propertyIdentifiers[],
boolean orders[])
- Sorts the contents.
- Parameters:
- propertyIdentifiers - The property identifiers.
- orders - The sort orders for each property identifier.
All Packages Class Hierarchy This Package Previous Next Index