public final class HTMLArea extends HTMLContainer implements AlternativeAttribute
alignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX
Constructor and Description |
---|
HTMLArea(int x,
int y,
int width,
int height,
java.lang.String href)
Creates new HTMLArea
|
Modifier and Type | Method and Description |
---|---|
void |
addMouseEvent(HTMLMouseEvent me)
add a mouse event to this component
|
java.lang.String |
getAlternative()
The alternative
|
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
generate the raw HTML for this component.
|
void |
setAlternative(java.lang.String alt)
The alternative
|
void |
setCoordHeight(int height) |
void |
setCoordWidth(int width) |
void |
setCoordX(int x) |
void |
setCoordY(int y) |
void |
setURL(java.lang.String href) |
addComponent, addComponent, addText, clear, findId, getComponent, getComponentCount, hasComponent, removeComponent, removeComponent
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, compile, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touch
public HTMLArea(int x, int y, int width, int height, java.lang.String href)
x
- y
- width
- height
- href
- public void setAlternative(java.lang.String alt)
setAlternative
in interface AlternativeAttribute
alt
- the alternativepublic java.lang.String getAlternative()
getAlternative
in interface AlternativeAttribute
public void addMouseEvent(HTMLMouseEvent me)
me
- The mouse eventpublic void setURL(java.lang.String href)
href
- public void setCoordX(int x)
x
- public void setCoordY(int y)
y
- public void setCoordWidth(int width)
width
- public void setCoordHeight(int height)
height
- protected void iGenerate(ClientBrowser browser, java.lang.StringBuilder buffer)
iGenerate
in class HTMLComponent
browser
- The target browserbuffer
- The generate HTMLstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.