Adds an encoding.
Parameters: name - the name. Parameters: description - the description. true if the encoding is valid and added to the model,false otherwise.
Notifies all registered listeners that the content of the model has changed.
fireContentsChanged
protected void fireContentsChanged(int start, int length)(Code)
Notifies all registered listeners that the content of the model has changed.
getAvailableEncodings
public static String getAvailableEncodings()(Code)
Defines the loader settings for the available encodings shown to the user. The
property defaults to AVAILABLE_ENCODINGS_ALL.
either AVAILABLE_ENCODINGS_ALL, AVAILABLE_ENCODINGS_FILE orAVAILABLE_ENCODINGS_NONE.
public static String getEncodingsDefinitionFile()(Code)
Defines the loader settings for the available encodings shown to the user. The
property defaults to AVAILABLE_ENCODINGS_ALL.
either AVAILABLE_ENCODINGS_ALL, AVAILABLE_ENCODINGS_FILE orAVAILABLE_ENCODINGS_NONE.
Defines the selected index for this encoding model.
Parameters: index - the selected index or -1 to clear the selection. throws: java.lang.IllegalArgumentException - if the given index is invalid.
Set the selected item. The implementation of this method should notify all
registered ListDataListeners that the contents have changed.
Parameters: anItem - the list object to select or null to clear the selection