public class FileSystemPane extends SplitPane implements View
© Copyright 2009 Sans Pareil Technologies, Inc.
| Modifier and Type | Field and Description |
|---|---|
protected FileList |
list
The file list displayed in the pane.
|
protected FileSystemTree |
tree
The file system tree that is displayed as the primary component.
|
ORIENTATION_HORIZONTAL, ORIENTATION_HORIZONTAL_LEADING_TRAILING, ORIENTATION_HORIZONTAL_LEFT_RIGHT, ORIENTATION_HORIZONTAL_RIGHT_LEFT, ORIENTATION_HORIZONTAL_TRAILING_LEADING, ORIENTATION_VERTICAL, ORIENTATION_VERTICAL_BOTTOM_TOP, ORIENTATION_VERTICAL_TOP_BOTTOM, PROPERTY_AUTO_POSITIONED, PROPERTY_ORIENTATION, PROPERTY_RESIZABLE, PROPERTY_SEPARATOR_COLOR, PROPERTY_SEPARATOR_HEIGHT, PROPERTY_SEPARATOR_HORIZONTAL_IMAGE, PROPERTY_SEPARATOR_HORIZONTAL_ROLLOVER_IMAGE, PROPERTY_SEPARATOR_POSITION, PROPERTY_SEPARATOR_ROLLOVER_COLOR, PROPERTY_SEPARATOR_VERTICAL_IMAGE, PROPERTY_SEPARATOR_VERTICAL_ROLLOVER_IMAGE, PROPERTY_SEPARATOR_VISIBLE, PROPERTY_SEPARATOR_WIDTHCHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_NEXT_ID_CHANGED_PROPERTY, FOCUS_PREVIOUS_ID_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY| Constructor and Description |
|---|
FileSystemPane()
Default constructor.
|
FileSystemPane(FileSystemTree tree,
FileList list)
Create a new instance that displays the specified tree and file list
components.
|
| Modifier and Type | Method and Description |
|---|---|
FileList |
getList()
Return the optional child component displayed in the pane.
|
FileSystemTree |
getTree() |
void |
init()
Add a
FileSystemTree component and a FileList component
as children of the pane. |
void |
setList(FileList component)
Set the specified component as the second component of the split pane.
|
void |
setTree(FileSystemTree tree) |
getOrientation, getSeparatorColor, getSeparatorHeight, getSeparatorHorizontalImage, getSeparatorHorizontalRolloverImage, getSeparatorPosition, getSeparatorRolloverColor, getSeparatorVerticalImage, getSeparatorVerticalRolloverImage, getSeparatorWidth, isAutoPositioned, isResizable, isSeparatorVisible, isValidChild, isValidParent, processInput, setAutoPositioned, setOrientation, setResizable, setSeparatorColor, setSeparatorHeight, setSeparatorHorizontalImage, setSeparatorHorizontalRolloverImage, setSeparatorPosition, setSeparatorRolloverColor, setSeparatorVerticalImage, setSeparatorVerticalRolloverImage, setSeparatorVisible, setSeparatorWidthadd, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusNextId, getFocusPreviousId, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isVisible, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusNextId, setFocusPreviousId, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOfprotected FileSystemTree tree
protected FileList list
public FileSystemPane()
public FileSystemPane(FileSystemTree tree, FileList list)
tree - The tree displaying file system directories.list - The list component that displays files in a selected directory.public void init()
FileSystemTree component and a FileList component
as children of the pane.
public FileList getList()
null.public void setList(FileList component)
component - The component to set as child.public FileSystemTree getTree()
public void setTree(FileSystemTree tree)
tree - The file system tree to display.