Class DocumentAdapter
java.lang.Object
net.adoptopenjdk.icedteaweb.client.controlpanel.DocumentAdapter
- All Implemented Interfaces:
EventListener, DocumentListener
Updates the property as it happens.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDocumentAdapter(String[] fields, int index) This creates a new instance of DocumentAdapter.DocumentAdapter(DeploymentConfiguration config, String property) This creates a new instance of DocumentAdapter. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprivate voidUpdate the property as on the appropriate items.
-
Field Details
-
LOG
-
fields
String[] fields -
index
int index -
property
String property -
config
DeploymentConfiguration config -
mode
int mode
-
-
Constructor Details
-
DocumentAdapter
This creates a new instance of DocumentAdapter.- Parameters:
fields- The list of property.index- Location of property to modify.
-
DocumentAdapter
This creates a new instance of DocumentAdapter. This allows modifying the configuration directly.- Parameters:
config- ConfigurationFile containing the properties.property- Name of property to modify.
-
-
Method Details
-
insertUpdate
- Specified by:
insertUpdatein interfaceDocumentListener
-
removeUpdate
- Specified by:
removeUpdatein interfaceDocumentListener
-
changedUpdate
- Specified by:
changedUpdatein interfaceDocumentListener
-
update
Update the property as on the appropriate items.- Parameters:
e- The event that caused the call.
-