portal.comp
Class ActionLink
java.lang.Object
portal.core.api.Component
portal.comp.ActionLink
- All Implemented Interfaces:
- Renderable, java.io.Serializable
- public class ActionLink
- extends Component
- See Also:
- Serialized Form
Methods inherited from class portal.core.api.Component |
afterRender, beforeRender, createDefaultModel, getLayout, getModel, getParent, isEnabled, isVisible, render, setEnabled, setLayout, setModel, setParent, setVisible, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActionLink
public ActionLink()
setLinkAction
public void setLinkAction(IAction linkAction)
getLinkAction
public IAction getLinkAction()
setCaption
public void setCaption(java.lang.String caption)
getCaption
public java.lang.String getCaption()
draw
public void draw(HtmlGraphics graphics)
throws RenderException
- Description copied from class:
Component
With this method the component can render itself using the passed HtmlGraphics object.
This method is not called when a layout manager is set since the existence of a layout
manager takes precedence above the draw()
method.
- Overrides:
draw
in class Component
- Parameters:
graphics
- the html graphics instance to use for drawing this component
- Throws:
RenderException
- when the rendering process could not proceed or encountered an error
setStyleRule
public void setStyleRule(StyleRule styleRule)