org.purl.sword.client
Class GuiClient.PostAction
java.lang.Object
javax.swing.AbstractAction
org.purl.sword.client.GuiClient.PostAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- GuiClient
protected class GuiClient.PostAction
- extends AbstractAction
Controlling action to post a file to the server.
- Author:
- Neil Taylor
- See Also:
- Serialized Form
| 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 |
GuiClient.PostAction
public GuiClient.PostAction()
- Create a post action.
actionPerformed
public void actionPerformed(ActionEvent event)
- Display the post dialog to run the post process.
- Parameters:
event - The event.
setCollection
public void setCollection(String collection)
- Called when there has been a new selection selected in the service
dialog. This value is stored and used to set the currently selected
collection in any post operation.
- Parameters:
collection - The url of the post area of a collection.
initialisePostDialog
protected void initialisePostDialog()
- Initialise the post dialog. Create it if necessary and then set any
values from the property store.
Copyright © 2012. All Rights Reserved.