com.alee.managers.settings.processors
Class WebDateFieldSettingsProcessor

java.lang.Object
  extended by com.alee.managers.settings.SettingsProcessor<WebDateField,java.lang.Long>
      extended by com.alee.managers.settings.processors.WebDateFieldSettingsProcessor

public class WebDateFieldSettingsProcessor
extends SettingsProcessor<WebDateField,java.lang.Long>

Custom SettingsProcessor for WebDateField component.

Author:
Mikle Garin

Field Summary
 
Fields inherited from class com.alee.managers.settings.SettingsProcessor
data, loading, saving
 
Constructor Summary
WebDateFieldSettingsProcessor(SettingsProcessorData data)
          Constructs SettingsProcessor using the specified SettingsProcessorData.
 
Method Summary
protected  void doDestroy(WebDateField dateField)
          Called when component is unregistered from ComponentSettingsManager.
protected  void doInit(WebDateField dateField)
          Called when a new component is registered in ComponentSettingsManager.
protected  void doLoad(WebDateField dateField)
          Called on component settings load.
protected  void doSave(WebDateField dateField)
          Called on component settings save.
 
Methods inherited from class com.alee.managers.settings.SettingsProcessor
destroy, getComponent, getData, getDefaultValue, getGroup, getKey, load, loadValue, save, save, saveValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDateFieldSettingsProcessor

public WebDateFieldSettingsProcessor(SettingsProcessorData data)
Constructs SettingsProcessor using the specified SettingsProcessorData.

Parameters:
data - SettingsProcessorData
Method Detail

doInit

protected void doInit(WebDateField dateField)
Called when a new component is registered in ComponentSettingsManager.

Specified by:
doInit in class SettingsProcessor<WebDateField,java.lang.Long>
Parameters:
dateField - registered component

doDestroy

protected void doDestroy(WebDateField dateField)
Called when component is unregistered from ComponentSettingsManager.

Specified by:
doDestroy in class SettingsProcessor<WebDateField,java.lang.Long>
Parameters:
dateField - unregistered component

doLoad

protected void doLoad(WebDateField dateField)
Called on component settings load. It doesn't matter if it is invoked by SettingsProcessor or some other source.

Specified by:
doLoad in class SettingsProcessor<WebDateField,java.lang.Long>
Parameters:
dateField - component to load settings into

doSave

protected void doSave(WebDateField dateField)
Called on component settings save. It doesn't matter if it is invoked by SettingsProcessor or some other source.

Specified by:
doSave in class SettingsProcessor<WebDateField,java.lang.Long>
Parameters:
dateField - component to save settings from