info.joseluismartin.gui.editor
Class DirtyState

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

public class DirtyState
extends Object
implements EditorState

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

Field Summary
static String CONFIRM_MESSAGE_KEY
           
 
Constructor Summary
DirtyState()
           
 
Method Summary
 Editor<?> getEditor()
           
 org.springframework.context.MessageSource getMessageSource()
           
 void save()
          Save editor state
 void setEditor(Editor<?> editor)
           
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIRM_MESSAGE_KEY

public static final String CONFIRM_MESSAGE_KEY
See Also:
Constant Field Values
Constructor Detail

DirtyState

public DirtyState()
Method Detail

save

public void save()
Save editor state

Specified by:
save in interface EditorState

getMessageSource

public org.springframework.context.MessageSource getMessageSource()
Returns:
the messageSource

setMessageSource

public void setMessageSource(org.springframework.context.MessageSource messageSource)
Parameters:
messageSource - the messageSource to set

getEditor

public Editor<?> getEditor()
Returns:
the editor

setEditor

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


Copyright © 2013 JDAL. All Rights Reserved.