Configuration, EventSource, ImmutableConfiguration, SynchronizerSupportpublic class AppletConfiguration extends AbstractConfiguration
| Modifier and Type | Field | Description |
|---|---|---|
protected java.applet.Applet |
applet |
Stores the wrapped applet.
|
| Constructor | Description |
|---|---|
AppletConfiguration(java.applet.Applet applet) |
Create an AppletConfiguration using the initialization parameters of
the specified Applet.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addPropertyDirect(java.lang.String key,
java.lang.Object obj) |
Adds a property to this configuration.
|
protected void |
clearPropertyDirect(java.lang.String key) |
Removes the property with the given key.
|
protected boolean |
containsKeyInternal(java.lang.String key) |
Checks whether the specified key is stored in this configuration.
|
protected java.util.Iterator<java.lang.String> |
getKeysInternal() |
Actually creates an iterator for iterating over the keys in this
configuration.
|
protected java.lang.Object |
getPropertyInternal(java.lang.String key) |
Actually obtains the value of the specified property.
|
protected java.lang.Object |
handleDelimiters(java.lang.Object value) |
Takes care of list delimiters in property values.
|
protected boolean |
isEmptyInternal() |
Checks if this configuration is empty.
|
addErrorLogListener, addProperty, addPropertyInternal, append, beginRead, beginWrite, clear, clearInternal, clearProperty, cloneInterpolator, containsKey, copy, endRead, endWrite, get, get, getArray, getArray, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCollection, getCollection, getConfigurationDecoder, getConversionHandler, getDouble, getDouble, getDouble, getEncodedString, getEncodedString, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getKeys, getKeysInternal, getList, getList, getList, getList, getListDelimiterHandler, getLogger, getLong, getLong, getLong, getProperties, getProperties, getProperty, getShort, getShort, getShort, getString, getString, getStringArray, getSynchronizer, immutableSubset, initLogger, installInterpolator, interpolate, interpolate, interpolatedConfiguration, isEmpty, isScalarValue, isThrowExceptionOnMissing, lock, setConfigurationDecoder, setConversionHandler, setDefaultLookups, setInterpolator, setListDelimiterHandler, setLogger, setParentInterpolator, setPrefixLookups, setProperty, setPropertyInternal, setSynchronizer, setThrowExceptionOnMissing, size, sizeInternal, subset, unlockaddEventListener, clearErrorListeners, clearEventListeners, clone, copyEventListeners, createErrorEvent, createEvent, fireError, fireEvent, getEventListenerRegistrations, getEventListeners, isDetailEvents, removeEventListener, setDetailEventspublic AppletConfiguration(java.applet.Applet applet)
applet - the appletprotected java.lang.Object getPropertyInternal(java.lang.String key)
AbstractConfigurationgetProperty(). Concrete subclasses must define it to
fetch the value of the desired property.getPropertyInternal in class AbstractConfigurationkey - the key of the property in questionprotected java.util.Iterator<java.lang.String> getKeysInternal()
AbstractConfigurationgetKeys(), it has to be
defined by concrete subclasses.getKeysInternal in class AbstractConfigurationIterator with all property keys in this configurationprotected boolean isEmptyInternal()
getKeys() method (which must be defined by concrete
sub classes) to find out whether properties exist.isEmptyInternal in class AbstractConfigurationprotected boolean containsKeyInternal(java.lang.String key)
containsKeyInternal in class AbstractConfigurationkey - the keyprotected void clearPropertyDirect(java.lang.String key)
clearPropertyDirect in class AbstractConfigurationkey - the key of the property to be removedjava.lang.UnsupportedOperationException - because this operation is not
allowedprotected void addPropertyDirect(java.lang.String key,
java.lang.Object obj)
addPropertyDirect in class AbstractConfigurationkey - the key of the propertyobj - the value to be addedjava.lang.UnsupportedOperationException - because this operation is not
allowedprotected java.lang.Object handleDelimiters(java.lang.Object value)
value - the property value to be examinedCopyright © 2001–2018. All rights reserved.