com.oktiva.mogno.additional
Class ActionLink
java.lang.Object
com.oktiva.mogno.Component
com.oktiva.mogno.Visual
com.oktiva.mogno.Container
com.oktiva.mogno.html.A
com.oktiva.mogno.additional.ActionLink
- All Implemented Interfaces:
- java.lang.Cloneable
- public class ActionLink
- extends A
ActionLink - A link associated with an action
A container that holds a link with a evOnClick event.
This link will be received and will dispatch an event in Mogno.
The property application and the property params overrides
the href property.
- Events
- evOnClick - This event is dispatched when this link is clicked.
- Version:
- $Id: ActionLink.java,v 1.1.1.1 2005/01/05 16:52:50 ruoso Exp $
- Author:
- Itamar Carvalho <itamar@oktiva.com.br> and others.
Field Summary |
java.lang.String |
application
The url of this web application |
java.lang.String |
evOnClick
Event dispatched when this link is clicked. |
java.lang.String |
origin
The mognoOrigin param, defaults to owner.name. |
java.lang.String |
params
Another params (in URL encoded format) to add to the link |
Fields inherited from class com.oktiva.mogno.html.A |
accesskey, charset, coords, dir, href, hreflang, lang, onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, rel, rev, shape, tabindex, target, type |
Fields inherited from class com.oktiva.mogno.Visual |
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, title, top |
Fields inherited from class com.oktiva.mogno.Component |
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName |
Methods inherited from class com.oktiva.mogno.html.A |
getAccesskey, getCharset, getCoords, getDir, getHref, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getTabindex, getTarget, getType, htmlAttributes, setAccesskey, setCharset, setCoords, setDir, setHref, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setTabindex, setTarget, setType |
Methods inherited from class com.oktiva.mogno.Container |
addChildsVector, betweenColumns, betweenRows, endColumn, endContainer, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, selectParentComponent, setContent, show, startColumn, startRow |
Methods inherited from class com.oktiva.mogno.Visual |
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, checkSyntax, coreHtmlAttributes, descendentOf, eventsHtmlAttributes, getEvOnShow, getEvOnSyntaxError, getGridHeight, getGridWeightX, getGridWeightY, getGridWidth, getId, getLastError, getLeft, getParent, getStyle, getStyleClass, getTitle, getTop, i18nHtmlAttributes, localizableAttributes, setEvOnShow, setEvOnSyntaxError, setGridHeight, setGridWeightX, setGridWeightY, setGridWidth, setId, setLastError, setLeft, setParent, setStyle, setStyleClass, setTitle, setTop, showHtmlAttributes |
Methods inherited from class com.oktiva.mogno.Component |
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getApplication, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
application
public java.lang.String application
- The url of this web application
params
public java.lang.String params
- Another params (in URL encoded format) to add to the link
origin
public java.lang.String origin
- The mognoOrigin param, defaults to owner.name.
evOnClick
public java.lang.String evOnClick
- Event dispatched when this link is clicked.
ActionLink
public ActionLink()
getApplicationUrl
public java.lang.String getApplicationUrl()
setApplicationUrl
public void setApplicationUrl(java.lang.String applicationUrl)
getParams
public java.lang.String getParams()
setParams
public void setParams(java.lang.String params)
getOrigin
public java.lang.String getOrigin()
setOrigin
public void setOrigin(java.lang.String origin)
getEvOnClick
public java.lang.String getEvOnClick()
setEvOnClick
public void setEvOnClick(java.lang.String evOnClick)
receiveRequest
public void receiveRequest(javax.servlet.http.HttpServletRequest request)
- Description copied from class:
Visual
- Receive the request and rebuild the properties using
the data that the user has filled in. This is a stub method
- Overrides:
receiveRequest
in class Visual
- Parameters:
request
- HttpServletRequest
startContainer
public java.lang.String startContainer()
- Description copied from class:
Container
- Starts container's tag.
If the tag attribute is not null, assumes the default behavior:
< + tag + htmlAttributes + >
- Overrides:
startContainer
in class Container
- Returns:
- String