Class DocumentAdapter
java.lang.Object
net.sourceforge.jnlp.controlpanel.DocumentAdapter
- All Implemented Interfaces:
EventListener,DocumentListener
Updates the property as it happens.
-
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 TypeMethodDescriptionvoidvoidvoid
-
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
-