| |
|
| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlContainer com.salmonllc.html.HtmlLink
HtmlLink | public class HtmlLink extends HtmlContainer (Code) | | This container will construct an anchor tag with a html link (HREF) reference.
|
HtmlLink | public HtmlLink(String name, String href, com.salmonllc.html.HtmlPage p)(Code) | | HtmlLink constructor.
Parameters: name - The name of the link Parameters: href - The url for the link Parameters: p - The page the link will go in. |
HtmlLink | public HtmlLink(String name, String href, String target, com.salmonllc.html.HtmlPage p)(Code) | | HtmlLink constructor comment.
Parameters: name - The name of the link Parameters: href - The url for the link Parameters: target - The target for the link Parameters: p - The page the link will go in. |
addSubmitListener | public void addSubmitListener(SubmitListener l)(Code) | | This method adds a listener the will be notified when this button causes the page to be submitted.
Parameters: l - The listener to add. |
clearSubmit | public void clearSubmit()(Code) | | Clears the submit component in this container or children containers. The container stores which component inside it
submitted a particular page for one invocation so it can route to the correct submit performed methods. Once that's done,
the framework needs to clear out that value for the next page invocation. This method is used by the framework and should not be called directly.
|
executeEvent | public boolean executeEvent(int eventType) throws Exception(Code) | | |
getDoSubmit | public boolean getDoSubmit()(Code) | | Gets whether or not the component will submit the page before transfering control to the link page. If the link does a submit, all the user entered data will sent to the server to be recorded.
|
getGenerateLink | public boolean getGenerateLink()(Code) | | This method gets whether or not the anchor tag will be generated for the link. Pass true to have the a tag generated and false not to. Setting the value to false, will cause the items inside the container to be displayed but nothing will happen when the user clicks on them.
|
getHref | public String getHref()(Code) | | Returns the href for the link
|
getOnClick | public String getOnClick()(Code) | | Use this method to get the javascript that will be executed when the user clicks on one of the components in the link.
|
getOnMouseOut | public String getOnMouseOut()(Code) | | Use this method to get the javascript that will be executed when the mouse passes over out of all the components
|
getOnMouseOver | public String getOnMouseOver()(Code) | | Use this method to get the javascript that will be executed when the mouse passes over any component in the link
|
getTabIndex | public int getTabIndex()(Code) | | |
getTarget | public String getTarget()(Code) | | Returns the target for the link.
|
insertSubmitListener | public void insertSubmitListener(SubmitListener l)(Code) | | This method inserts a listener the will be notified when this button causes the page to be submitted.
Parameters: l - The listener to add. |
processParms | public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code) | | This method will process the parms from a post for every component in the container.
|
removeSubmitListener | public void removeSubmitListener(SubmitListener l)(Code) | | This method removes a listener from the list that will be notified if this button causes the page to be submitted.
Parameters: l - The listener to remove. |
reset | public void reset()(Code) | | This method will clear all pending events from the event queue for this component and components it contains.
|
setAccessKey | public void setAccessKey(String string)(Code) | | Parameters: sets - the access key html attribute |
setDoSubmit | public void setDoSubmit(boolean doSubmit)(Code) | | Sets whether or not the component will submit the page before transfering control to the link page. If the link does a submit, all the user entered data will sent to the server to be recorded. If the flag is true, the target and onClick properties cannot be used.
|
setGenerateLink | public void setGenerateLink(boolean gen)(Code) | | This method sets whether or not the anchor tag will be generated for the link. Pass true to have the a tag generated and false not to. Setting the value to false, will cause the items inside the container to be displayed but nothing will happen when the user clicks on them.
|
setHref | public void setHref(String href)(Code) | | Sets the href for the link
Parameters: href - java.lang.String |
setHrefExpression | public void setHrefExpression(DataStoreBuffer ds, String expression) throws Exception(Code) | | This method was created in VisualAge.
Parameters: ds - com.salmonllc.sql.DataStoreBuffer Parameters: expression - java.lang.String exception: java.lang.Exception - The exception description. |
setOnClick | public void setOnClick(String onClick)(Code) | | Use this method to set the javascript that will be executed when the user clicks on one of the components in the link.
|
setOnMouseOut | public void setOnMouseOut(String onMouseOut)(Code) | | Use this method to set the javascript that will be executed when the mouse passes over out of all the components
|
setOnMouseOver | public void setOnMouseOver(String onMouseOver)(Code) | | Use this method to set the javascript that will be executed when the mouse passes over any component in the link
|
setStyle | public void setStyle(HtmlStyle style)(Code) | | This method was created in VisualAge.
Parameters: style - com.salmonllc.html.HtmlStyle |
setTabIndex | public void setTabIndex(int val)(Code) | | Parameters: sets - the tab index html attribute. You can also pass TAB_INDEX_DEFAULT to use the default tab index for the component or TAB_INDEX_NONE to keep this component from being tabbed to |
setTarget | public void setTarget(String target)(Code) | | Sets the target for the link.
_blank opens the destination document in a new unnamed window.
_parent opens the destination document in the parent window of the one displaying the current document.
_self opens the destination document in the same window as the one in which the link was clicked.
_top opens the destination document in the full body of the current window. This value can be used to ensure that the destination document takes over the full window even if the original document was displayed in a frame.
|
|
|
|