org.das2.dasml.PersistentStateSupport


PROPERTY_OPENING


PROPERTY_SAVING


PROPERTY_DIRTY


PROPERTY_CURRENT_FILE


addPropertyChangeListener

addPropertyChangeListener( java.beans.PropertyChangeListener l ) → void

Adds a PropertyChangeListener to the listener list.

Parameters

l - The listener to add.

Returns:

void (returns nothing)

search for examples view on GitHub view source


close

Deprecated: What is the purpose of this method?

createCurrentFileLabel

createCurrentFileLabel( ) → JLabel

Returns:

javax.swing.JLabel

search for examples view on GitHub view source


createOpenAction

createOpenAction( ) → Action

Returns:

javax.swing.Action

search for examples view on GitHub view source


createOpenRecentMenu

createOpenRecentMenu( ) → JMenu

Returns:

javax.swing.JMenu

search for examples view on GitHub view source


createQuitAction

createQuitAction( ) → Action

In the future, this should prompt for save if the app is dirty.

Returns:

javax.swing.Action

search for examples view on GitHub view source


createSaveAction

createSaveAction( ) → Action

Returns:

javax.swing.Action

search for examples view on GitHub view source


createSaveAsAction

createSaveAsAction( ) → Action

Returns:

javax.swing.Action

search for examples view on GitHub view source


createSaveMenuItem

createSaveMenuItem( ) → JMenuItem

Returns:

javax.swing.JMenuItem

search for examples view on GitHub view source


getCurrentFile

getCurrentFile( ) → File

Returns:

java.io.File

search for examples view on GitHub view source


isCurrentFileOpened

isCurrentFileOpened( ) → boolean

Property currentFileOpened indicates if the current file has ever been opened. This is to handle the initial state where the current file is set, but should not be displayed because it has not been opened.

Returns:

Value of property currentFileOpened.

search for examples view on GitHub view source


isDirty

isDirty( ) → boolean

Getter for property dirty.

Returns:

Value of property dirty.

search for examples view on GitHub view source


isOpening

isOpening( ) → boolean

Property loading is true when a load operation is being performed.

Returns:

Value of property loading.

search for examples view on GitHub view source


isSaving

isSaving( ) → boolean

Property saving is true when a save operation is being performed.

Returns:

Value of property saving.

search for examples view on GitHub view source


markDirty

markDirty( ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


removePropertyChangeListener

removePropertyChangeListener( java.beans.PropertyChangeListener l ) → void

Removes a PropertyChangeListener from the listener list.

Parameters

l - The listener to remove.

Returns:

void (returns nothing)

search for examples view on GitHub view source


saveAs

saveAs( ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


setCurrentFile

setCurrentFile( java.io.File currentFile ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


setCurrentFileOpened

setCurrentFileOpened( boolean currentFileOpened ) → void

Setter for property currentFileOpened.

Parameters

currentFileOpened - New value of property currentFileOpened.

Returns:

void (returns nothing)

search for examples view on GitHub view source


setDirty

setDirty( boolean dirty ) → void

Setter for property dirty.

Parameters

dirty - New value of property dirty.

Returns:

void (returns nothing)

search for examples view on GitHub view source