|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
com.mucommander.ui.action.MuAction
com.mucommander.ui.action.OpenLocationAction
public class OpenLocationAction
This action opens a specified location in the current active FileTable. The location can be designated by either a FileURL, path, or AbstractFile.
| Field Summary |
|---|
| Fields inherited from class com.mucommander.ui.action.MuAction |
|---|
ALTERNATE_ACCELERATOR_PROPERTY_KEY, mainFrame |
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
AbstractFile file)
Creates a new OpenLocationAction instance using the filename of the provided AbstractFile as label. |
|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
AbstractFile file,
java.lang.String label)
Creates a new OpenLocationAction instance using the provided AbstractFile and label. |
|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
BonjourService bonjourService)
Convenience constructor, same effect as calling OpenLocationAction(MainFrame, Hashtable, FileURL, String) with
BonjourService.getURL() and BonjourService.getNameWithProtocol() ()}. |
|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
Bookmark bookmark)
Convenience constructor, same effect as calling OpenLocationAction(MainFrame, Hashtable, String, String) with
Bookmark.getLocation() and Bookmark.getName(). |
|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
FileURL url)
Creates a new OpenLocationAction instance using the provided url's string representation (with credentials stripped out) as label. |
|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
FileURL url,
java.lang.String label)
Creates a new OpenLocationAction instance using the provided FileURL and label. |
|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
java.lang.String path)
Creates a new OpenLocationAction instance using the provided path as label. |
|
OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
java.lang.String path,
java.lang.String label)
Creates a new OpenLocationAction instance using the provided path and label. |
|
| Method Summary | |
|---|---|
protected FolderPanel |
getFolderPanel()
Returns the FolderPanel on which to change the current folder. |
void |
performAction()
Called when this action has been triggered. |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
FileURL url)
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
FileURL url,
java.lang.String label)
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
AbstractFile file)
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
AbstractFile file,
java.lang.String label)
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
java.lang.String path)
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
java.lang.String path,
java.lang.String label)
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
Bookmark bookmark)
OpenLocationAction(MainFrame, Hashtable, String, String) with
Bookmark.getLocation() and Bookmark.getName().
public OpenLocationAction(MainFrame mainFrame,
java.util.Hashtable properties,
BonjourService bonjourService)
OpenLocationAction(MainFrame, Hashtable, FileURL, String) with
BonjourService.getURL() and BonjourService.getNameWithProtocol() ()}.
| Method Detail |
|---|
protected FolderPanel getFolderPanel()
FolderPanel on which to change the current folder. This method returns the currently active
panel but can be overridden if another panel should be used.
public void performAction()
MuAction
performAction in class MuAction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard