|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.io.FileListFiltersPanel
public class FileListFiltersPanel
The FileListFiltersPanel is a panel to be displayed in an instance of FileListCustomizer or FiltersEditor. It provides the interface which allows the user to create filters.
| Field Summary | |
|---|---|
protected Button |
button
|
protected FileList |
fl
|
protected FileSystemList |
fsl
|
protected boolean |
isFile
|
protected ModelInterface |
itemsModel
|
protected ListBox |
listBox
|
protected boolean |
mouseDClicked
|
protected PushButton |
pushButton
|
static java.lang.String |
RB_KEY
|
protected java.lang.String |
startingDirectories
|
protected TextField |
textField
|
protected TreeView |
treeView
|
| Constructor Summary | |
|---|---|
FileListFiltersPanel()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent e)
|
java.lang.String |
getStartingDirectories()
Returns the filters |
void |
initialize()
The initialize() method was designed to be a synchronization point after the constructor for the object has completed and a number of methods have been called on the component. |
void |
itemStateChanged(java.awt.event.ItemEvent e)
|
void |
keyPressed(java.awt.event.KeyEvent e)
Called when a key is pressed |
void |
keyReleased(java.awt.event.KeyEvent e)
Called when a key is released |
void |
keyTyped(java.awt.event.KeyEvent e)
Called when a key is typed |
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
setStartingDirectories(java.lang.String passedFilters)
Sets the filters |
void |
setStartingDirectories(java.lang.String createdFilters,
boolean check)
Sets the filters |
| Methods inherited from class com.sas.awt.Panel |
|---|
getDefaultHeight, getDefaultWidth, getExtendedBeanInfo, remove, remove, removeAll, setDefaultHeight, setDefaultValues, setDefaultWidth |
| Methods inherited from interface com.sas.awt.ContainerInterface |
|---|
getComponents, getLayout, invalidate, setLayout, validate |
| Field Detail |
|---|
protected TextField textField
protected ListBox listBox
protected TreeView treeView
protected PushButton pushButton
protected Button button
protected FileSystemList fsl
protected FileList fl
protected java.lang.String startingDirectories
protected ModelInterface itemsModel
protected boolean mouseDClicked
protected boolean isFile
public static final java.lang.String RB_KEY
| Constructor Detail |
|---|
public FileListFiltersPanel()
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void contentsChanged(com.sas.collection.ContentsChangedEvent e)
contentsChanged in interface com.sas.collection.ContentsChangedListenerpublic void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged in interface java.awt.event.ItemListenerpublic java.lang.String getStartingDirectories()
public void initialize()
ComponentInterfaceinitialize() should be called on a component after is it constructed :
ListBox listBox = new ListBox();
listBox.initialize();
container.add( listBox );
Overriding initialize is now discouraged since it is generally better to override setDefaultValues and readObject to perform initialization.
By default (in the ComponentInterface implementation), initialize() does nothing. However, various components override initialize() to perform operations, and it should be called.
Although use of initialize() is now discouraged, initialize() is also called by the validateObject method after a component is deserialized. This allows components which need processing during creation and deserialization to have a common place to perform operations. Adding event handlers to subcomponents is a typical use of the initialize method.
initialize in interface ComponentInterfaceinitialize in class PanelVisualComponentComponentInterface.initialize()public void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenere - KeyEventpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListenere - KeyEventpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped in interface java.awt.event.KeyListenere - KeyEventpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void setStartingDirectories(java.lang.String passedFilters)
filters -
public void setStartingDirectories(java.lang.String createdFilters,
boolean check)
filters -
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||