info.joseluismartin.gui.editor
Class CleanState

java.lang.Object
  extended by info.joseluismartin.gui.editor.CleanState
All Implemented Interfaces:
EditorState

public class CleanState
extends Object
implements EditorState

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Constructor Summary
CleanState()
           
 
Method Summary
 void cancel()
          cancel editor
 Editor getEditor()
           
 void save()
          Save editor state
 void setEditor(Editor editor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanState

public CleanState()
Method Detail

cancel

public void cancel()
cancel editor

Specified by:
cancel in interface EditorState

save

public void save()
Save editor state

Specified by:
save in interface EditorState

getEditor

public Editor getEditor()
Returns:
the editor

setEditor

public void setEditor(Editor editor)
Parameters:
editor - the editor to set


Copyright © 2012 JDAL. All Rights Reserved.