ImageObserver, MenuContainer, Serializablepublic class AS400ExplorerPane extends JComponent implements Serializable
AS400ExplorerPane objects generate the following events:
The following example creates an explorer pane filled with the contents of a directory in the integrated file system of a system.
// Set up the explorer pane.
AS400 system = new AS400 ("MySystem", "Userid", "Password");
VIFSDirectory directory = new VIFSDirectory (system, "/myDirectory");
AS400ExplorerPane explorerPane = new AS400ExplorerPane (directory);
explorerPane.load ();
// Add the explorer pane to a frame.
JFrame frame = new JFrame ("My Window");
frame.getContentPane().add (explorerPane);
AS400DetailsPane,
AS400TreePane,
Serialized FormJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategylistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor | Description |
|---|---|
AS400ExplorerPane() |
Deprecated.
Constructs an AS400ExplorerPane object.
|
AS400ExplorerPane(VNode root) |
Deprecated.
Constructs an AS400ExplorerPane object.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addErrorListener(ErrorListener listener) |
Deprecated.
Adds a listener to be notified when an error occurs.
|
void |
addListSelectionListener(ListSelectionListener listener) |
Deprecated.
Adds a listener to be notified when a list selection occurs in the details pane.
|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
Deprecated.
Adds a listener to be notified when the value of any
bound property changes.
|
void |
addTreeSelectionListener(TreeSelectionListener listener) |
Deprecated.
Adds a listener to be notified when a tree selection occurs.
|
void |
addVetoableChangeListener(VetoableChangeListener listener) |
Deprecated.
Adds a listener to be notified when the value of any
constrained property changes.
|
void |
collapse(VNode object) |
Deprecated.
Collapses the specified object in the tree.
|
void |
expand(VNode object) |
Deprecated.
Expands the specified object in the tree.
|
VActionContext |
getActionContext() |
Deprecated.
Returns the context in which actions will be performed.
|
boolean |
getAllowActions() |
Deprecated.
Indicates if actions can be invoked on objects.
|
boolean |
getConfirm() |
Deprecated.
Indicates if certain actions are confirmed with the user.
|
TableColumnModel |
getDetailsColumnModel() |
Deprecated.
Returns the column model that is used to maintain the columns
of the details.
|
TableModel |
getDetailsModel() |
Deprecated.
Returns the details model.
|
VNode |
getDetailsRoot() |
Deprecated.
Returns the root of the details pane.
|
ListSelectionModel |
getDetailsSelectionModel() |
Deprecated.
Returns the selection model that is used to maintain
selection state in the details.
|
TreePath |
getPath(VNode object) |
Deprecated.
Returns the path from the root to get to this object in the tree
hierarchy.
|
VNode |
getRoot() |
Deprecated.
Returns the root, or the system resource, from which all information for the model is gathered.
|
VObject |
getSelectedObject() |
Deprecated.
Returns the first selected object.
|
VObject[] |
getSelectedObjects() |
Deprecated.
Returns the selected objects.
|
TreeModel |
getTreeModel() |
Deprecated.
Returns the tree model.
|
TreeSelectionModel |
getTreeSelectionModel() |
Deprecated.
Returns the selection model that is used to maintain
selection state in the tree.
|
boolean |
isCollapsed(VNode object) |
Deprecated.
Indicates if the object in the tree is currently collapsed.
|
boolean |
isExpanded(VNode object) |
Deprecated.
Indicates if the object in the tree is currently expanded.
|
boolean |
isSelected(VObject object) |
Deprecated.
Indicates if the object in the tree or the details is selected.
|
boolean |
isVisible(VNode object) |
Deprecated.
Indicates if the object in the tree is currently visible in the tree.
|
void |
load() |
Deprecated.
Loads the objects from the system.
|
void |
makeVisible(VNode object) |
Deprecated.
Makes the object visible in the tree by expanding its
parent objects as needed.
|
void |
removeErrorListener(ErrorListener listener) |
Deprecated.
Removes an error listener.
|
void |
removeListSelectionListener(ListSelectionListener listener) |
Deprecated.
Removes a list selection listener.
|
void |
removePropertyChangeListener(PropertyChangeListener listener) |
Deprecated.
Removes a property change listener.
|
void |
removeTreeSelectionListener(TreeSelectionListener listener) |
Deprecated.
Removes a tree selection listener.
|
void |
removeVetoableChangeListener(VetoableChangeListener listener) |
Deprecated.
Removes a vetoable change listener.
|
void |
setAllowActions(boolean allowActions) |
Deprecated.
Sets whether actions are allowed.
|
void |
setConfirm(boolean confirm) |
Deprecated.
Sets whether certain actions are confirmed with the user.
|
void |
setDetailsSelectionModel(ListSelectionModel selectionModel) |
Deprecated.
Sets the selection model that is used to maintain selection
state in the details.
|
void |
setRoot(VNode root) |
Deprecated.
Sets the root, or the system resource, from which all information for the model is gathered.
|
void |
setTreeSelectionModel(TreeSelectionModel selectionModel) |
Deprecated.
Sets the selection model that is used to maintain selection
state in the tree.
|
void |
sort(Object[] propertyIdentifiers,
boolean[] orders) |
Deprecated.
Sorts the contents.
|
addAncestorListener, addNotify, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUIadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic AS400ExplorerPane()
public AS400ExplorerPane(VNode root)
root - The root, or the system resource, from which all information for the model is gathered.public void addErrorListener(ErrorListener listener)
listener - The listener.public void addListSelectionListener(ListSelectionListener listener)
listener - The listener.public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in class Containerlistener - The listener.public void addTreeSelectionListener(TreeSelectionListener listener)
listener - The listener.public void addVetoableChangeListener(VetoableChangeListener listener)
addVetoableChangeListener in class JComponentlistener - The listener.public void collapse(VNode object)
object - The object in the tree.public void expand(VNode object)
object - The object in the tree.public VActionContext getActionContext()
public boolean getAllowActions()
public boolean getConfirm()
public TableColumnModel getDetailsColumnModel()
public TableModel getDetailsModel()
public VNode getDetailsRoot()
public ListSelectionModel getDetailsSelectionModel()
public TreePath getPath(VNode object)
object - The object.public VNode getRoot()
public VObject getSelectedObject()
public VObject[] getSelectedObjects()
public TreeModel getTreeModel()
public TreeSelectionModel getTreeSelectionModel()
public boolean isCollapsed(VNode object)
object - The object in the tree.public boolean isExpanded(VNode object)
object - The object in the tree.public boolean isSelected(VObject object)
object - The object in the tree or the details.public boolean isVisible(VNode object)
object - The object in the tree.public void load()
public void makeVisible(VNode object)
object - The object.public void removeErrorListener(ErrorListener listener)
listener - The listener.public void removeListSelectionListener(ListSelectionListener listener)
listener - The listener.public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in class Componentlistener - The listener.public void removeTreeSelectionListener(TreeSelectionListener listener)
listener - The listener.public void removeVetoableChangeListener(VetoableChangeListener listener)
removeVetoableChangeListener in class JComponentlistener - The listener.public void setAllowActions(boolean allowActions)
The default is true.
allowActions - true if actions are allowed; false otherwise.public void setConfirm(boolean confirm)
confirm - true if certain actions are confirmed with the
user; false otherwise.public void setDetailsSelectionModel(ListSelectionModel selectionModel)
selectionModel - The selection model, or null if
selections are not allowed.public void setRoot(VNode root) throws PropertyVetoException
root - The root, or the system resource, from which all information for the model is gathered.PropertyVetoException - It the change is vetoed.public void setTreeSelectionModel(TreeSelectionModel selectionModel)
selectionModel - The selection model, or null if
selections are not allowed.public void sort(Object[] propertyIdentifiers, boolean[] orders)
propertyIdentifiers - The property identifiers. If any of
the property identifiers are null, it
means to sort using the string
representation of the object.orders - The sort orders for each property
identifier, true for ascending order,
false for descending order.Copyright © 2024. All rights reserved.