| uk.co.whisperingwind.framework.Model uk.co.whisperingwind.vienna.ConfigModel
ConfigModel | public class ConfigModel extends Model (Code) | | |
Method Summary | |
public void | addConnection(String name, String url, String driverClass, String userName, String password) | public void | amendConnection(String name, String newName, String url, String driverClass, String userName, String password) | public void | assign(ConfigModel copy) | public String | encodeChar(String uncoded, char encodeChar, String encodeWith) Replace all instances of a character in the string with the
encode-with string. | public String | encodeXML(String uncoded) Encode a string for XML. | public String | getConnectionDriverClass(String name) | public ConnectionListModel | getConnectionListModel() | public ConnectionModel | getConnectionModel(String name) | public String | getConnectionPassword(String name) | public String | getConnectionUrl(String name) | public String | getConnectionUserName(String name) | public int | getMaxRows() | public boolean | getSavePasswords() | public Font | getTableFont() | public Font | getTextFont() | public void | removeConnection(String name) | public void | save() | public void | setMaxRows(int max) | public void | setSavePasswords(boolean aSave) | public void | setTableFont(Font font) | public void | setTextFont(Font font) |
encodeChar | public String encodeChar(String uncoded, char encodeChar, String encodeWith)(Code) | | Replace all instances of a character in the string with the
encode-with string.
|
encodeXML | public String encodeXML(String uncoded)(Code) | | Encode a string for XML. Replaces amphersand with & (others
can be added if needed).
|
getMaxRows | public int getMaxRows()(Code) | | |
getSavePasswords | public boolean getSavePasswords()(Code) | | |
removeConnection | public void removeConnection(String name)(Code) | | |
setMaxRows | public void setMaxRows(int max)(Code) | | |
setSavePasswords | public void setSavePasswords(boolean aSave)(Code) | | |
setTableFont | public void setTableFont(Font font)(Code) | | |
setTextFont | public void setTextFont(Font font)(Code) | | |
|
|