SRJRCFrames
v0.1.296

de.schwarzrot.app.config
Class DesktopConfig

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by de.schwarzrot.data.support.AbstractEntity
          extended by de.schwarzrot.app.config.support.AbstractConfigBase
              extended by de.schwarzrot.app.config.ApplicationConfig
                  extended by de.schwarzrot.app.config.support.AbstractSysConfig
                      extended by de.schwarzrot.app.config.DesktopConfig
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, DBConfig, LookAndFeelConfig, Entity, Serializable, Comparable<Entity>

public class DesktopConfig
extends AbstractSysConfig
implements LookAndFeelConfig

See Also:
Serialized Form

Constructor Summary
DesktopConfig()
           
DesktopConfig(DesktopConfig other)
           
 
Method Summary
 String getBackendHost()
           
 int getBackendPort()
           
 String getDefaultApplication()
           
 List<Application<?>> getKnownApplications()
           
 List<String> getKnownDesktopClasses()
           
 List<String> getKnownLookAndFeelPlugins()
           
 List<String> getKnownLookAndFeelThemes()
           
 String getLafDesktop()
           
 String getLafName()
           
 String getLafTheme()
           
 Map<String,Integer> getSkipList()
          startupSize and startupPosition are virtual properties, which are calculated at first access.
 List<String> getUserAttributes()
          default applications name, look&feel name and theme are user values
 String guessDriverClass(String jfN)
           
 void setBackendHost(String backendHost)
           
 void setBackendPort(int backendPort)
           
 void setDefaultApplication(String defaultApplication)
           
 void setKnownApplications(List<Application<?>> knownApplications)
           
 void setLafDesktop(String lafDesktop)
           
 void setLafName(String lafName)
           
 void setLafTheme(String lafTheme)
           
 
Methods inherited from class de.schwarzrot.app.config.support.AbstractSysConfig
dump, getDbType, getDriveMappings, getDrvClassName, getDrvLibPath, getDrvUrl, getDsDB, getDsHost, getDsPassword, getDsSchema, getDsUser, getMappings, getPluginDir, getSupportedDBDrivers, getValuesFrom, isSetupNeeded, setDbType, setDriveMappings, setDrvClassName, setDrvLibPath, setDrvUrl, setDsDB, setDsHost, setDsPassword, setDsSchema, setDsUser, setMappings, setPluginDir, setSetupNeeded
 
Methods inherited from class de.schwarzrot.app.config.ApplicationConfig
getArchive, getExtraTBOrientation, getStartupHeight, getStartupPosition, getStartupSize, getStartupWidth, getStartupX, getStartupY, getVersion, setArchive, setExtraTBOrientation, setStartupHeight, setStartupPosition, setStartupSize, setStartupWidth, setStartupX, setStartupY, setVersion, validate
 
Methods inherited from class de.schwarzrot.app.config.support.AbstractConfigBase
getPersistenceName, getSystemClass, isUserType
 
Methods inherited from class de.schwarzrot.data.support.AbstractEntity
adoptChildren, adoptChildren, adoptGroupedChildren, compareTo, equals, getCModified, getCode, getDefaultOrder, getDtCreated, getDtModified, getId, getLogger, getSchemaName, getUCreated, getUModified, getUniqColumnNames, getVariantColumnName, getVariantTypeMap, hashCode, isDirty, isVirtual, setCModified, setDirty, setDtCreated, setDtModified, setId, setSchemaName, setUCreated, setUModified, toString
 
Methods inherited from class com.jgoodies.binding.beans.Model
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jgoodies.binding.beans.Observable
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

DesktopConfig

public DesktopConfig()

DesktopConfig

public DesktopConfig(DesktopConfig other)
Method Detail

getBackendHost

public String getBackendHost()

getBackendPort

public int getBackendPort()

getDefaultApplication

public final String getDefaultApplication()

getKnownApplications

public final List<Application<?>> getKnownApplications()

getKnownDesktopClasses

public final List<String> getKnownDesktopClasses()

getKnownLookAndFeelPlugins

public final List<String> getKnownLookAndFeelPlugins()

getKnownLookAndFeelThemes

public final List<String> getKnownLookAndFeelThemes()

getLafDesktop

public final String getLafDesktop()

getLafName

public final String getLafName()
Specified by:
getLafName in interface LookAndFeelConfig

getLafTheme

public final String getLafTheme()
Specified by:
getLafTheme in interface LookAndFeelConfig

getSkipList

public Map<String,Integer> getSkipList()
Description copied from class: ApplicationConfig
startupSize and startupPosition are virtual properties, which are calculated at first access. So these properties should not go to persistence.

Specified by:
getSkipList in interface Entity
Overrides:
getSkipList in class AbstractSysConfig
Returns:
a Map

getUserAttributes

public List<String> getUserAttributes()
default applications name, look&feel name and theme are user values

Specified by:
getUserAttributes in interface Entity
Overrides:
getUserAttributes in class AbstractSysConfig
Returns:
a list of property names

guessDriverClass

public String guessDriverClass(String jfN)

setBackendHost

public void setBackendHost(String backendHost)

setBackendPort

public void setBackendPort(int backendPort)

setDefaultApplication

public final void setDefaultApplication(String defaultApplication)

setKnownApplications

public final void setKnownApplications(List<Application<?>> knownApplications)

setLafDesktop

public final void setLafDesktop(String lafDesktop)

setLafName

public final void setLafName(String lafName)
Specified by:
setLafName in interface LookAndFeelConfig

setLafTheme

public final void setLafTheme(String lafTheme)
Specified by:
setLafTheme in interface LookAndFeelConfig

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.