com.alee.managers.settings
Class SettingsGroupState

java.lang.Object
  extended by com.alee.managers.settings.SettingsGroupState
All Implemented Interfaces:
java.io.Serializable

public class SettingsGroupState
extends java.lang.Object
implements java.io.Serializable

This class contains information about single SettingsGroup read state.

Author:
Mikle Garin
See Also:
How to use SettingsManager, SettingsManager, SettingsGroup, Serialized Form

Constructor Summary
SettingsGroupState()
          Constructs none SettingsGroupState.
SettingsGroupState(ReadState readState)
          Constructs SettingsGroupState with the specified read state.
SettingsGroupState(ReadState readState, java.lang.Throwable error)
          Constructs SettingsGroupState with the specified read state and occured error.
 
Method Summary
 java.lang.Throwable getError()
          Returns occured error.
 ReadState getReadState()
          Returns SettingsGroup read state.
 void setError(java.lang.Throwable error)
          Sets occured error.
 void setReadState(ReadState readState)
          Sets SettingsGroup read state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsGroupState

public SettingsGroupState()
Constructs none SettingsGroupState.


SettingsGroupState

public SettingsGroupState(ReadState readState)
Constructs SettingsGroupState with the specified read state.

Parameters:
readState - read state

SettingsGroupState

public SettingsGroupState(ReadState readState,
                          java.lang.Throwable error)
Constructs SettingsGroupState with the specified read state and occured error.

Parameters:
readState - read state
error - occured error
Method Detail

getReadState

public ReadState getReadState()
Returns SettingsGroup read state.

Returns:
SettingsGroup read state

setReadState

public void setReadState(ReadState readState)
Sets SettingsGroup read state.

Parameters:
readState - new SettingsGroup read state

getError

public java.lang.Throwable getError()
Returns occured error.

Returns:
occured error

setError

public void setError(java.lang.Throwable error)
Sets occured error.

Parameters:
error - occured error