public interface HTMLAbstractAnchor extends HandlesMouseEvents, HandlesSingleClick
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
URL_CHECK
Marks the start of a URL that we will check for.
|
static java.lang.String |
URL_END
Marks the end of the URL.
|
static int |
URL_MAX_LENGTH
The maximum length of a URL that we can safely have without the proxies or the browser
truncating it.
|
Modifier and Type | Method and Description |
---|---|
void |
addCallParameter(java.lang.String token,
java.lang.String value)
add a call parameter
|
void |
addComponent(HTMLComponent component)
add a component to this anchor.
|
void |
addMouseEvent(HTMLMouseEvent me)
add a mouse event to this anchor
|
java.lang.String |
getHREF()
get the hyper link for this anchor
|
java.lang.String |
getHREF(ClientBrowser browser)
get the hyper link for this anchor
|
java.lang.String |
getURL()
get the plain hyper link for this anchor
|
void |
setTabIndex(int index)
The tab index
|
void |
setTarget(java.lang.String target)
The window target
|
void |
setTargetHeight(int pixels)
The target window height
|
void |
setTargetStatusBar(boolean on)
Should the status bar be shown in the target window
|
void |
setTargetWidth(int pixels)
The target window width
|
void |
setTargetWindowPlain(boolean on)
make the target window plain ie.
|
void |
setToolTip(java.lang.String toolTip)
set tooltip
|
cancelClickBubble
static final java.lang.String URL_CHECK
static final java.lang.String URL_END
static final int URL_MAX_LENGTH
void addComponent(HTMLComponent component)
component
- The component to add.void addMouseEvent(HTMLMouseEvent me)
addMouseEvent
in interface HandlesMouseEvents
me
- The mouse eventjava.lang.String getHREF()
java.lang.String getHREF(ClientBrowser browser)
browser
- the browservoid setTarget(java.lang.String target)
target
- The target window.void setTargetWidth(int pixels)
pixels
- the width in pixelsvoid setTargetHeight(int pixels)
pixels
- the height in pixelsvoid setTargetWindowPlain(boolean on)
on
- this is a plan windowvoid setTabIndex(int index)
index
- the tab index.void addCallParameter(java.lang.String token, java.lang.String value)
token
- the namevalue
- the valuevoid setToolTip(java.lang.String toolTip)
toolTip
- the tooltipvoid setTargetStatusBar(boolean on)
on
- show the status barjava.lang.String getURL()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.