Class ActionSwingButton
- java.lang.Object
-
- org.pentaho.ui.xul.impl.AbstractXulComponent
-
- org.pentaho.ui.xul.swing.SwingElement
-
- org.pentaho.ui.xul.swing.tags.SwingButton
-
- org.pentaho.reporting.designer.core.xul.ActionSwingButton
-
- All Implemented Interfaces:
DesignerContextComponent
,org.pentaho.ui.xul.components.XulButton
,org.pentaho.ui.xul.dom.Element
,org.pentaho.ui.xul.XulComponent
,org.pentaho.ui.xul.XulEventSource
public class ActionSwingButton extends org.pentaho.ui.xul.swing.tags.SwingButton implements DesignerContextComponent
Todo: Document Me- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.pentaho.ui.xul.swing.SwingElement
changeSupport, container, gc, orient, orientation
-
Fields inherited from class org.pentaho.ui.xul.impl.AbstractXulComponent
alignment, bgcolor, bindingProvider, context, drageffect, element, flex, flexLayout, height, id, initialized, insertafter, insertbefore, menu, onblur, ondrag, ondrop, padding, popup, position, removeElement, spacing, tooltip, visible, width
-
-
Constructor Summary
Constructors Constructor Description ActionSwingButton(org.pentaho.ui.xul.dom.Element self, org.pentaho.ui.xul.XulComponent parent, org.pentaho.ui.xul.XulDomContainer domContainer, String tagName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
protected Action
getActionImpl()
ReportDesignerContext
getReportDesignerContext()
protected void
installAction(Action newAction)
void
setAction(String action)
protected void
setButton(AbstractButton button)
protected void
setIcon(Icon icon)
void
setLabel(String label)
void
setReportDesignerContext(ReportDesignerContext context)
protected void
uninstallAction(Action oldAction)
-
Methods inherited from class org.pentaho.ui.xul.swing.tags.SwingButton
doClick, getButton, getDir, getGroup, getImage, getLabel, getOnclick, getType, isDisabled, isSelected, layout, onDomReady, setDir, setDisabled, setGroup, setImage, setOnclick, setSelected, setSelected, setType
-
Methods inherited from class org.pentaho.ui.xul.swing.SwingElement
addChild, addChildAt, addPropertyChangeListener, adoptAttributes, getJComponent, getOrient, getOrientation, removeChild, removePropertyChangeListener, replaceChild, resetContainer, setOnblur, setOrient, setVisible
-
Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulComponent
getAlign, getAttributes, getAttributeValue, getBgcolor, getChildNodes, getContext, getDocument, getDrageffect, getDropvetoer, getElementById, getElementByXPath, getElementObject, getElementsByTagName, getFirstChild, getFlex, getHeight, getId, getInsertafter, getInsertbefore, getManagedObject, getMenu, getName, getNamespace, getOnblur, getOndrag, getOndrop, getPadding, getParent, getPopup, getPosition, getRemoveelement, getSpacing, getText, getTooltiptext, getWidth, getXulElement, invoke, invoke, isVisible, setAlign, setAttribute, setAttribute, setAttributes, setBgcolor, setBindingProvider, setContext, setDrageffect, setDropvetoer, setFlex, setHeight, setId, setInsertafter, setInsertbefore, setManagedObject, setMenu, setNamespace, setOndrag, setOndrop, setPadding, setPopup, setPosition, setRemoveelement, setSpacing, setTooltiptext, setWidth
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.ui.xul.dom.Element
addChild, addChildAt, getAttributes, getAttributeValue, getChildNodes, getDocument, getElementById, getElementByXPath, getElementObject, getElementsByTagName, getFirstChild, getNamespace, getParent, getText, removeChild, replaceChild, setAttribute, setAttribute, setAttributes, setNamespace
-
Methods inherited from interface org.pentaho.ui.xul.XulComponent
addPropertyChangeListener, adoptAttributes, getAlign, getBgcolor, getContext, getDrageffect, getDropvetoer, getFlex, getHeight, getId, getInsertafter, getInsertbefore, getManagedObject, getMenu, getName, getOnblur, getOndrag, getOndrop, getPadding, getPopup, getPosition, getRemoveelement, getSpacing, getTooltiptext, getWidth, isVisible, removePropertyChangeListener, setAlign, setBgcolor, setBindingProvider, setContext, setDrageffect, setDropvetoer, setFlex, setHeight, setId, setInsertafter, setInsertbefore, setManagedObject, setMenu, setOnblur, setOndrag, setOndrop, setPadding, setPopup, setPosition, setRemoveelement, setSpacing, setTooltiptext, setVisible, setWidth
-
-
-
-
Constructor Detail
-
ActionSwingButton
public ActionSwingButton(org.pentaho.ui.xul.dom.Element self, org.pentaho.ui.xul.XulComponent parent, org.pentaho.ui.xul.XulDomContainer domContainer, String tagName)
-
-
Method Detail
-
setButton
protected void setButton(AbstractButton button)
- Overrides:
setButton
in classorg.pentaho.ui.xul.swing.tags.SwingButton
-
getActionImpl
protected Action getActionImpl()
-
getAction
public String getAction()
-
setAction
public void setAction(String action)
-
setIcon
protected void setIcon(Icon icon)
-
uninstallAction
protected void uninstallAction(Action oldAction)
-
installAction
protected void installAction(Action newAction)
-
setReportDesignerContext
public void setReportDesignerContext(ReportDesignerContext context)
- Specified by:
setReportDesignerContext
in interfaceDesignerContextComponent
-
getReportDesignerContext
public ReportDesignerContext getReportDesignerContext()
- Specified by:
getReportDesignerContext
in interfaceDesignerContextComponent
-
setLabel
public void setLabel(String label)
- Specified by:
setLabel
in interfaceorg.pentaho.ui.xul.components.XulButton
- Overrides:
setLabel
in classorg.pentaho.ui.xul.swing.tags.SwingButton
-
-