public class ImageArgument extends AbstractArgument
description, name, pcs, tool, value
Constructor and Description |
---|
ImageArgument(AbstractTool tool,
String name,
String description)
Constructs a FileArgument.
|
ImageArgument(AbstractTool tool,
String name,
String description,
FileFilter filter)
Constructs a FileArgument.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
Object |
getArgument()
Gets the argument as an object.
|
addPropertyChangeListener, firePropertyChange, getDescription, getName, getTool, getUsage, getValue, propertyChange, removePropertyChangeListener, setDescription, setName, setTool, setValue, setValue, toString
public ImageArgument(AbstractTool tool, String name, String description, FileFilter filter)
tool
- the tool that needs this argumentname
- the name of the argumentdescription
- the description of the argumentfilter
- a custom filterpublic ImageArgument(AbstractTool tool, String name, String description)
tool
- the tool that needs this argumentname
- the name of the argumentdescription
- the description of the argumentpublic Object getArgument() throws InstantiationException
getArgument
in class AbstractArgument
InstantiationException
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class AbstractArgument
e
- ActionEventActionListener.actionPerformed(java.awt.event.ActionEvent)
Copyright © 2015. All rights reserved.