|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.remotefileselector.RemoteFileNamePanel
public class RemoteFileNamePanel
RemoteFileNamePanel displays the selected file, the file type filtering component and the action buttons like OK, Save, Open, Cancel.
| Constructor Summary | |
|---|---|
RemoteFileNamePanel(java.util.Map fileExtensions,
javax.swing.JComponent parent)
Constructor that allows setting of the file type extensions and the parent of this component. |
|
| Method Summary | |
|---|---|
void |
addActionButtons(javax.swing.JButton action,
javax.swing.JButton cancel)
Allows setting of the action buttons. |
java.lang.String |
getFileName()
Returns the item(s) that are currently displayed in the file name field. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Listens for changes in the selections made on the table component. |
void |
setRemoteFileViewComponent(RemoteFileComponentInterface component)
Sets the view component (i.e. table view) so that listener communication can be established. |
| Constructor Detail |
|---|
public RemoteFileNamePanel(java.util.Map fileExtensions,
javax.swing.JComponent parent)
fileExtensions - a Map containing the file type extensions in the form of (display text, file type)
e.g. ("SAS Files", ".sas")parent - the parent component of this panel| Method Detail |
|---|
public void addActionButtons(javax.swing.JButton action,
javax.swing.JButton cancel)
action - the main action like Open, Save, OKcancel - the cancel buttonpublic void setRemoteFileViewComponent(RemoteFileComponentInterface component)
component - the view component that will provide events for the RemoteFileNamePanelpublic java.lang.String getFileName()
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenere - the property change event
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||