com.ontimize.util.gis.client.gui.panels.actions
Class LoggerPanelAction
java.lang.Object
com.ontimize.util.gis.client.gui.panels.actions.LoggerPanelAction
- All Implemented Interfaces:
- com.ontimize.gui.i18n.Internationalization, IPopupMenuAction, java.awt.event.ActionListener, java.util.EventListener
public class LoggerPanelAction
- extends java.lang.Object
- implements IPopupMenuAction, com.ontimize.gui.i18n.Internationalization
Popup menu panel action. Opens the events log panel.
Code:
<com.ontimize.util.gis.client.gui.panels.components.PopupMenuItem
attr="POPUP_MENU_ITEM_VIEW_LOG"
img="com/ontimize/gui/images/formview.png"
actionClass="com.ontimize.util.gis.client.gui.panels.actions.LoggerPanelAction"/>
| Fields inherited from interface com.ontimize.gui.i18n.Internationalization |
DEBUG_LANGUAGE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewer
protected IGisViewer viewer
xCoord
protected double xCoord
yCoord
protected double yCoord
posX
protected int posX
posY
protected int posY
APPENDER_NAME
protected java.lang.String APPENDER_NAME
DIALOG_TITLE
protected java.lang.String DIALOG_TITLE
clearButtonText
protected java.lang.String clearButtonText
clipboardButtonText
protected java.lang.String clipboardButtonText
comboBoxText
protected java.lang.String comboBoxText
loggerOutput
protected javax.swing.JTextPane loggerOutput
loggerDialog
protected javax.swing.JFrame loggerDialog
dialogPanel
protected javax.swing.JPanel dialogPanel
buttonClearLog
protected javax.swing.JButton buttonClearLog
buttonCopyToClipboardLog
protected javax.swing.JButton buttonCopyToClipboardLog
comboBox
protected javax.swing.JComboBox comboBox
comboLabel
protected javax.swing.JLabel comboLabel
appender
protected GisLoggerPanelAppender appender
LoggerPanelAction
public LoggerPanelAction()
LoggerPanelAction
public LoggerPanelAction(IGisViewer viewer)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
buildLoggerPanel
protected void buildLoggerPanel()
addAppenderEvent
public void addAppenderEvent(org.apache.log4j.Category arg0,
org.apache.log4j.Appender arg1)
removeAppenderEvent
public void removeAppenderEvent(org.apache.log4j.Category arg0,
org.apache.log4j.Appender arg1)
buttonClearLog_actionPerformed
protected void buttonClearLog_actionPerformed(java.awt.event.ActionEvent ev)
buttonCopyToClipboard_actionPerformed
protected void buttonCopyToClipboard_actionPerformed(java.awt.event.ActionEvent ev)
buttonComboChoose_actionPerformed
protected void buttonComboChoose_actionPerformed(java.awt.event.ActionEvent ev)
getTextsToTranslate
public java.util.Vector getTextsToTranslate()
- Specified by:
getTextsToTranslate in interface com.ontimize.gui.i18n.Internationalization
setComponentLocale
public void setComponentLocale(java.util.Locale arg0)
- Specified by:
setComponentLocale in interface com.ontimize.gui.i18n.Internationalization
setResourceBundle
public void setResourceBundle(java.util.ResourceBundle res)
- Specified by:
setResourceBundle in interface com.ontimize.gui.i18n.Internationalization- Specified by:
setResourceBundle in interface IPopupMenuAction
setParameter
public void setParameter(java.lang.String paramName,
java.lang.Object paramValue)
- Description copied from interface:
IPopupMenuAction
- Set a parameter value for this action. The definition
of this parameter in the xml code is using the
FormAttribute
element
- Specified by:
setParameter in interface IPopupMenuAction
- Parameters:
paramName - Parameter nameparamValue - Parameter value
setParameters
public void setParameters(java.util.Hashtable<java.lang.String,java.lang.Object> params)
- Description copied from interface:
IPopupMenuAction
- Set a group of parameters stored in a hashtable in [name, value] pairs.
- Specified by:
setParameters in interface IPopupMenuAction
- Parameters:
params - Hashtable containing the popup menu action configuration parameters
setParentItem
public void setParentItem(PopupMenuItem popupItem)
- Description copied from interface:
IPopupMenuAction
- Set action parent item
- Specified by:
setParentItem in interface IPopupMenuAction
- Parameters:
popupItem - Parent item