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 TypeMethodDescriptionvoid
void
void
-
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:
insertUpdate
in interfaceDocumentListener
-
removeUpdate
- Specified by:
removeUpdate
in interfaceDocumentListener
-
changedUpdate
- Specified by:
changedUpdate
in interfaceDocumentListener
-