public interface VariableIF
Modifier and Type | Interface and Description |
---|---|
static class |
VariableIF.ACCESS_MODE |
static class |
VariableIF.ACCESS_USER_TYPES |
Modifier and Type | Method and Description |
---|---|
void |
addAdoptListener(AdoptListener listener)
add an adopt listener
|
java.lang.String |
getComment()
Get the comment belongs to varaibale.
|
java.lang.String |
getCurrentValue()
Get the current string value.
|
javax.swing.JComponent |
getDefaultComponent()
Get the component to let the user set the default.
|
java.lang.String |
getDescription()
Get the description of the variable.
|
javax.swing.JComponent |
getInput()
Get the input component of the variable.
|
javax.swing.JComponent |
getLabel()
This method returns the label component of the variable.
|
javax.swing.JComponent |
getResetComponent()
Get the component to let the user reset the value.
|
java.lang.String |
getValue()
Read the user input from input component.
|
org.w3c.dom.Element |
getVariable()
Get the variable describing this class.
|
boolean |
hasAccessRight(VariableIF.ACCESS_MODE accessMode,
VariableIF.ACCESS_USER_TYPES accessUserType)
Returns whether the given user_type has the access right
|
boolean |
isChanged()
Return a boolean whether the changed the variable value.
|
boolean |
isDefault()
Has this varibnale the default value.
|
boolean |
isEnvironment()
Return a boolean whether the variable must be defined in environment.
|
boolean |
isGlobal()
Return a boolean whether the variable is global in ini file.
|
boolean |
isIniFile()
Return a boolean whether the variable must be defined in INI file.
|
boolean |
isKernel()
Is this varibale defined in kernel section.
|
boolean |
isObligatory()
Is the variable obligatory.
|
void |
removeAdoptListener(AdoptListener listener)
remove an adopt listener
|
void |
removeComment()
Remove the comment belongs to varibale.
|
void |
setChanged(boolean flag)
Set the boolean whether the changed the variable value.
|
void |
setComment(java.lang.String comment)
Set the comment belongs to variable.
|
void |
setElementAccessRights(VariableIF.ACCESS_MODE mode,
VariableIF.ACCESS_USER_TYPES userType,
boolean isChecked)
Sets the new access right for given mode and user type
|
void |
setElementToDefault()
Configure the element according to the default settings.
|
void |
setElementValue()
Set the element value attribute according to the current input settings.
|
void |
setToDefault()
Set all settings of this variable to the default.
|
javax.swing.JComponent getLabel()
javax.swing.JComponent getInput()
javax.swing.JComponent getDefaultComponent()
javax.swing.JComponent getResetComponent()
org.w3c.dom.Element getVariable()
java.lang.String getCurrentValue()
java.lang.String getDescription()
void setToDefault()
boolean isChanged()
void setChanged(boolean flag)
boolean isGlobal()
boolean isEnvironment()
boolean isIniFile()
boolean isObligatory()
boolean isKernel()
boolean isDefault()
java.lang.String getValue() throws java.lang.Exception
java.lang.Exception
void setElementValue() throws java.lang.Exception
java.lang.Exception
void setElementToDefault()
java.lang.String getComment()
void setComment(java.lang.String comment)
void removeComment()
void addAdoptListener(AdoptListener listener)
void removeAdoptListener(AdoptListener listener)
boolean hasAccessRight(VariableIF.ACCESS_MODE accessMode, VariableIF.ACCESS_USER_TYPES accessUserType)
void setElementAccessRights(VariableIF.ACCESS_MODE mode, VariableIF.ACCESS_USER_TYPES userType, boolean isChecked)