|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jap.JAPConfInfoServiceSavePoint
public class JAPConfInfoServiceSavePoint
This is the implementation for the infoservice savepoint. It is needed for restoring an old or the default configuration, if the user presses "Cancel" or "Reset to defaults".
Field Summary | |
---|---|
private boolean |
m_automaticInfoServiceChanges
Whether automatic changes of infoservice are enabled (if the default infoservice fails). |
private boolean |
m_automaticInfoServiceRequestsDisabled
Whether automatic infoservice requests are disabled or not. |
private java.util.Vector |
m_knownInfoServices
The Vector of all known infoservices. |
private InfoServiceDBEntry |
m_preferredInfoService
The preferred infoservice. |
Constructor Summary | |
---|---|
JAPConfInfoServiceSavePoint()
|
Method Summary | |
---|---|
void |
createSavePoint()
This method will store the current infoservice configuration in this savepoint. |
void |
restoreDefaults()
Loads the default infoservice configuration. |
void |
restoreSavePoint()
Restores the old infoservice configuration (stored with the last call of createSavePoint()). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Vector m_knownInfoServices
private InfoServiceDBEntry m_preferredInfoService
private boolean m_automaticInfoServiceRequestsDisabled
private boolean m_automaticInfoServiceChanges
Constructor Detail |
---|
public JAPConfInfoServiceSavePoint()
Method Detail |
---|
public void createSavePoint()
createSavePoint
in interface IJAPConfSavePoint
public void restoreSavePoint()
restoreSavePoint
in interface IJAPConfSavePoint
public void restoreDefaults()
restoreDefaults
in interface IJAPConfSavePoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |