|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
br.usp.ime.klava.segmentit.gui.actions.OpenImage
public class OpenImage
Opens an image to be segmented.
Field Summary |
---|
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 |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Opens an image to be segmented. |
static OpenImage |
getInstance()
Returns the unique instance (singleton) of this action. |
SegmentationDocument |
openImageFile(java.io.File file)
Creates an SegmentationDocument with the image in
file . |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OpenImage getInstance()
public void actionPerformed(java.awt.event.ActionEvent arg0)
public SegmentationDocument openImageFile(java.io.File file)
SegmentationDocument
with the image in
file
.
file
- the File
containing the image to be segmented
SegmentationDocument
created, null
if it
was not possible to open the image file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |