mixconfig.panels.AdvancedPanel Class Reference

Inherits mixconfig::panels::MixConfigPanel, and javax::swing::event::ChangeListener.

List of all members.

Public Member Functions

 AdvancedPanel ()
void itemStateChanged (ItemEvent a_event)
void setConfiguration (MixConfiguration a_conf) throws IOException
void stateChanged (ChangeEvent a_event)
void focusGained (FocusEvent a_event)
void focusLost (FocusEvent a_event)
void load () throws IOException
String getHelpContext ()
Vector< String > check ()
Container getHelpExtractionDisplayContext ()

Static Public Attributes

static final String XMLPATH_MONITORING_HOST = "Network/ServerMonitoring/Host"
static final String XMLPATH_MONITORING_PORT = "Network/ServerMonitoring/Port"

Protected Member Functions

void enableComponents ()

Private Member Functions

void setDirectoryLoggingValues ()

Private Attributes

TitledGridBagPanel m_panelLogging
TitledGridBagPanel m_panelMonitoring
TitledGridBagPanel m_panelTrafficShaping
TitledGridBagPanel m_panelMisc
CertPanel m_panelLogCert
MixConfigTextField m_tfFileName
MixConfigTextField m_tfMonitoringHost
JAPJIntField m_tfMonitoringPort
JAPJIntField m_tfLatency
JAPJIntField m_tfTimeInterval
JAPJIntField m_tfBytesPerInterval
JAPJIntField m_tfUnshapedTraffic
MixConfigTextField m_tfUID
JAPJIntField m_tfNumFileDesc
JAPJIntField m_tfMaxUsers
JAPJIntField m_tfMaxLogFileSize
JAPJIntField m_tfMaxLogFiles
JLabel m_lblMaxUsers
JCheckBox m_cbDaemon
JCheckBox m_cbCompressLog
JRadioButton m_rbConsole
JRadioButton m_rbFile
JRadioButton m_rbSyslog
JRadioButton m_rbNoLog
ButtonGroup m_loggingButtonGroup
String m_logFilePath = "General/Logging/File"

Static Private Attributes

static final String XMLPATH_TRAFFIC_SHAPING = "Ressources"
static final String XMLPATH_TRAFFIC_SHAPING_LATENCY = XMLPATH_TRAFFIC_SHAPING + "/Latency"
static final String XMLPATH_TRAFFIC_SHAPING_TIME_INTERVAL = XMLPATH_TRAFFIC_SHAPING + "/Intervall"
static final String XMLPATH_TRAFFIC_SHAPING_PACKET_INTERVAL = XMLPATH_TRAFFIC_SHAPING + "/BytesPerIntervall"
static final String XMLPATH_TRAFFIC_SHAPING_UNSHAPED_TRAFFIC = XMLPATH_TRAFFIC_SHAPING + "/UnlimitTraffic"
static final String MSG_SERVER_MONITORING = AdvancedPanel.class.getName() + "_SM"
static final String MSG_SERVER_MONITORING_TOOLTIP = AdvancedPanel.class.getName() + "_smToolTip"
static final String MSG_SERVER_MONITORING_HOST = AdvancedPanel.class.getName() + "_smHost"
static final String MSG_SERVER_MONITORING_PORT = AdvancedPanel.class.getName() + "_smPort"
static final String MSG_TRAFFIC_SHAPING = AdvancedPanel.class.getName() + "_TS"
static final String MSG_LATENCY = AdvancedPanel.class.getName() + "_tsLatency"
static final String MSG_LATENCY_TOOLTIP = AdvancedPanel.class.getName() + "_tsLatencyToolTip"
static final String MSG_TIME_INTERVAL = AdvancedPanel.class.getName() + "_tsTimeInterval"
static final String MSG_PACKET_INTERVAL = AdvancedPanel.class.getName() + "_tsPacketInterval"
static final String MSG_SHAPING_INTERVAL_TOOLTIP = AdvancedPanel.class.getName() + "_tsShapingIntervalToolTip"
static final String MSG_UNSHAPED_TRAFFIC = AdvancedPanel.class.getName() + "_tsUnshapedTraffic"
static final String MSG_UNSHAPED_TRAFFIC_TOOLTIP = AdvancedPanel.class.getName() + "_tsUnshapedTrafficToolTip"
static final String MSG_SET_UID = AdvancedPanel.class.getName() + "_setUID"
static final String MSG_SET_FD = AdvancedPanel.class.getName() + "_setFD"
static final String MSG_SET_MAXUSERS = AdvancedPanel.class.getName() + "_setMaxUsers"
static final String MSG_RUN_DAEMON = AdvancedPanel.class.getName() + "_runDaemon"
static final String MSG_ENABLE_LOGGING = AdvancedPanel.class.getName() + "_enableLogging"
static final String MSG_LOG_CONSOLE = AdvancedPanel.class.getName() + "_logConsole"
static final String MSG_LOG_DIR = AdvancedPanel.class.getName() + "_logDir"
static final String MSG_COMPRESS_LOG = AdvancedPanel.class.getName() + "_compressLog"
static final String MSG_LOG_SYSLOG = AdvancedPanel.class.getName() + "_logSyslog"
static final String MSG_LOG_LABEL_MAX_FILE_SIZE = AdvancedPanel.class.getName() + "_logLabelMaxFileSize"
static final String MSG_LOG_LABEL_MAX_FILES = AdvancedPanel.class.getName() + "_logLabelMaxFiles"
static final String XML_ELEMENT_GENERAL = "General"
static final String XML_ELEMENT_LOGGING = "Logging"
static final String XML_ATTR_COMPRESSED = "compressed"
static final String XML_ATTR_MAX_LOG_FILE_SIZE = "MaxFileSize"
static final String XML_ATTR_MAX_LOG_FILES = "MaxFiles"


Detailed Description

The panel for advanced settings

Author:
Tobias Bayer

Johannes Renner


Constructor & Destructor Documentation

mixconfig.panels.AdvancedPanel.AdvancedPanel (  ) 

The Constructor

References mixconfig.panels.CertPanel.addChangeListener(), mixconfig.panels.MixConfigPanel.getInitialConstraints(), mixconfig.panels.AdvancedPanel.m_cbCompressLog, mixconfig.panels.AdvancedPanel.m_cbDaemon, mixconfig.panels.AdvancedPanel.m_lblMaxUsers, mixconfig.panels.AdvancedPanel.m_loggingButtonGroup, mixconfig.panels.AdvancedPanel.m_panelLogCert, mixconfig.panels.AdvancedPanel.m_panelLogging, mixconfig.panels.AdvancedPanel.m_panelMisc, mixconfig.panels.AdvancedPanel.m_panelMonitoring, mixconfig.panels.AdvancedPanel.m_panelTrafficShaping, mixconfig.panels.AdvancedPanel.m_rbConsole, mixconfig.panels.AdvancedPanel.m_rbFile, mixconfig.panels.AdvancedPanel.m_rbNoLog, mixconfig.panels.AdvancedPanel.m_rbSyslog, mixconfig.panels.AdvancedPanel.m_tfBytesPerInterval, mixconfig.panels.AdvancedPanel.m_tfFileName, mixconfig.panels.AdvancedPanel.m_tfLatency, mixconfig.panels.AdvancedPanel.m_tfMaxLogFiles, mixconfig.panels.AdvancedPanel.m_tfMaxLogFileSize, mixconfig.panels.AdvancedPanel.m_tfMaxUsers, mixconfig.panels.AdvancedPanel.m_tfMonitoringHost, mixconfig.panels.AdvancedPanel.m_tfMonitoringPort, mixconfig.panels.AdvancedPanel.m_tfNumFileDesc, mixconfig.panels.AdvancedPanel.m_tfTimeInterval, mixconfig.panels.AdvancedPanel.m_tfUID, mixconfig.panels.AdvancedPanel.m_tfUnshapedTraffic, mixconfig.panels.AdvancedPanel.MSG_COMPRESS_LOG, mixconfig.panels.AdvancedPanel.MSG_ENABLE_LOGGING, mixconfig.panels.AdvancedPanel.MSG_LATENCY, mixconfig.panels.AdvancedPanel.MSG_LATENCY_TOOLTIP, mixconfig.panels.AdvancedPanel.MSG_LOG_CONSOLE, mixconfig.panels.AdvancedPanel.MSG_LOG_DIR, mixconfig.panels.AdvancedPanel.MSG_LOG_LABEL_MAX_FILE_SIZE, mixconfig.panels.AdvancedPanel.MSG_LOG_LABEL_MAX_FILES, mixconfig.panels.AdvancedPanel.MSG_LOG_SYSLOG, mixconfig.panels.AdvancedPanel.MSG_PACKET_INTERVAL, mixconfig.panels.AdvancedPanel.MSG_RUN_DAEMON, mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING, mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING_HOST, mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING_PORT, mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING_TOOLTIP, mixconfig.panels.AdvancedPanel.MSG_SET_FD, mixconfig.panels.AdvancedPanel.MSG_SET_MAXUSERS, mixconfig.panels.AdvancedPanel.MSG_SET_UID, mixconfig.panels.AdvancedPanel.MSG_SHAPING_INTERVAL_TOOLTIP, mixconfig.panels.AdvancedPanel.MSG_TIME_INTERVAL, mixconfig.panels.AdvancedPanel.MSG_TRAFFIC_SHAPING, mixconfig.panels.AdvancedPanel.MSG_UNSHAPED_TRAFFIC, mixconfig.panels.AdvancedPanel.MSG_UNSHAPED_TRAFFIC_TOOLTIP, mixconfig.panels.MixConfigPanel.setAutoSaveEnabled(), mixconfig.panels.CertPanel.setEnabled(), mixconfig.panels.AdvancedPanel.XMLPATH_MONITORING_HOST, mixconfig.panels.AdvancedPanel.XMLPATH_MONITORING_PORT, mixconfig.panels.AdvancedPanel.XMLPATH_TRAFFIC_SHAPING_LATENCY, mixconfig.panels.AdvancedPanel.XMLPATH_TRAFFIC_SHAPING_PACKET_INTERVAL, mixconfig.panels.AdvancedPanel.XMLPATH_TRAFFIC_SHAPING_TIME_INTERVAL, and mixconfig.panels.AdvancedPanel.XMLPATH_TRAFFIC_SHAPING_UNSHAPED_TRAFFIC.


Member Function Documentation

void mixconfig.panels.AdvancedPanel.itemStateChanged ( ItemEvent  a_event  ) 

void mixconfig.panels.AdvancedPanel.setConfiguration ( MixConfiguration  a_mixConf  )  throws IOException

Informs the panel about a new Mix configuration and makes it load the attribute values from the configuration object into the text fields, combo boxes etc.

Parameters:
a_mixConf The new configuration
Exceptions:
IOException If an error occurs while transferring the data

Reimplemented from mixconfig.panels.MixConfigPanel.

References mixconfig.panels.AdvancedPanel.enableComponents().

void mixconfig.panels.AdvancedPanel.stateChanged ( ChangeEvent  a_event  ) 

void mixconfig.panels.AdvancedPanel.enableComponents (  )  [protected, virtual]

void mixconfig.panels.AdvancedPanel.focusGained ( FocusEvent  a_event  ) 

void mixconfig.panels.AdvancedPanel.setDirectoryLoggingValues (  )  [private]

void mixconfig.panels.AdvancedPanel.focusLost ( FocusEvent  a_event  ) 

void mixconfig.panels.AdvancedPanel.load (  )  throws IOException

String mixconfig.panels.AdvancedPanel.getHelpContext (  ) 

Vector<String> mixconfig.panels.AdvancedPanel.check (  )  [virtual]

Container mixconfig.panels.AdvancedPanel.getHelpExtractionDisplayContext (  ) 


Member Data Documentation

final String mixconfig.panels.AdvancedPanel.XMLPATH_TRAFFIC_SHAPING = "Ressources" [static, private]

XML-Paths

final String mixconfig.panels.AdvancedPanel.XMLPATH_MONITORING_HOST = "Network/ServerMonitoring/Host" [static]

final String mixconfig.panels.AdvancedPanel.XMLPATH_MONITORING_PORT = "Network/ServerMonitoring/Port" [static]

final String mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING = AdvancedPanel.class.getName() + "_SM" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING_TOOLTIP = AdvancedPanel.class.getName() + "_smToolTip" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING_HOST = AdvancedPanel.class.getName() + "_smHost" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_SERVER_MONITORING_PORT = AdvancedPanel.class.getName() + "_smPort" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_TRAFFIC_SHAPING = AdvancedPanel.class.getName() + "_TS" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_LATENCY = AdvancedPanel.class.getName() + "_tsLatency" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_LATENCY_TOOLTIP = AdvancedPanel.class.getName() + "_tsLatencyToolTip" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_TIME_INTERVAL = AdvancedPanel.class.getName() + "_tsTimeInterval" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_PACKET_INTERVAL = AdvancedPanel.class.getName() + "_tsPacketInterval" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_SHAPING_INTERVAL_TOOLTIP = AdvancedPanel.class.getName() + "_tsShapingIntervalToolTip" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_UNSHAPED_TRAFFIC = AdvancedPanel.class.getName() + "_tsUnshapedTraffic" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_UNSHAPED_TRAFFIC_TOOLTIP = AdvancedPanel.class.getName() + "_tsUnshapedTrafficToolTip" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_SET_UID = AdvancedPanel.class.getName() + "_setUID" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_SET_FD = AdvancedPanel.class.getName() + "_setFD" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_SET_MAXUSERS = AdvancedPanel.class.getName() + "_setMaxUsers" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_RUN_DAEMON = AdvancedPanel.class.getName() + "_runDaemon" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_ENABLE_LOGGING = AdvancedPanel.class.getName() + "_enableLogging" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_LOG_CONSOLE = AdvancedPanel.class.getName() + "_logConsole" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_LOG_DIR = AdvancedPanel.class.getName() + "_logDir" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_COMPRESS_LOG = AdvancedPanel.class.getName() + "_compressLog" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_LOG_SYSLOG = AdvancedPanel.class.getName() + "_logSyslog" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_LOG_LABEL_MAX_FILE_SIZE = AdvancedPanel.class.getName() + "_logLabelMaxFileSize" [static, private]

final String mixconfig.panels.AdvancedPanel.MSG_LOG_LABEL_MAX_FILES = AdvancedPanel.class.getName() + "_logLabelMaxFiles" [static, private]

final String mixconfig.panels.AdvancedPanel.XML_ELEMENT_GENERAL = "General" [static, private]

final String mixconfig.panels.AdvancedPanel.XML_ELEMENT_LOGGING = "Logging" [static, private]

final String mixconfig.panels.AdvancedPanel.XML_ATTR_COMPRESSED = "compressed" [static, private]

final String mixconfig.panels.AdvancedPanel.XML_ATTR_MAX_LOG_FILE_SIZE = "MaxFileSize" [static, private]

final String mixconfig.panels.AdvancedPanel.XML_ATTR_MAX_LOG_FILES = "MaxFiles" [static, private]

TitledGridBagPanel mixconfig.panels.AdvancedPanel.m_panelLogging [private]

TitledGridBagPanel mixconfig.panels.AdvancedPanel.m_panelMisc [private]

MixConfigTextField mixconfig.panels.AdvancedPanel.m_tfFileName [private]

MixConfigTextField mixconfig.panels.AdvancedPanel.m_tfUID [private]

String mixconfig.panels.AdvancedPanel.m_logFilePath = "General/Logging/File" [private]


The documentation for this class was generated from the following file:

Generated on Mon Nov 16 23:24:47 2009 for MixConfig by  doxygen 1.5.6