|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.microedition.svg.SVGComponent
org.netbeans.microedition.svg.SVGTextArea
public class SVGTextArea
Suggested SVG snippet :
<g id="text_area" transform="translate(130,220)">
<rect x="0" y="-5" rx="5" ry="5" width="100" height="90" fill="none" stroke="rgb(255,165,0)" stroke-width="2" visibility="hidden">
<set attributeName="visibility" attributeType="XML" begin="text_area.focusin" fill="freeze" to="visible"/>
<set attributeName="visibility" attributeType="XML" begin="text_area.focusout" fill="freeze" to="hidden"/>
</rect>
<rect x="5.0" y="0.0" width="90" height="80" fill="none" stroke="black" stroke-width="2"/>
<text id="text_area_hidden_text" visibility="hidden" x="10" y="15" stroke="black" font-size="15" font-family="SunSansSemiBold">
HIDDEN TEXT
</text>
<rect id="text_area_caret" visibility="visible" x="10" y="2" width="2" height="15" fill="black" stroke="black"/>
</g>
| Field Summary |
|---|
| Fields inherited from class org.netbeans.microedition.svg.SVGComponent |
|---|
actionListeners, DASH, ENABLED, form, LABEL_FOR, REF, SVG_NS, TR_VALUE_HIDDEN, TR_VALUE_INHERIT, TR_VALUE_VISIBLE, TRAIT_FILL, TRAIT_TEXT, TRAIT_VISIBILITY, TRAIT_X, TRAIT_Y, TYPE, wrapperElement |
| Constructor Summary | |
|---|---|
SVGTextArea(SVGForm form,
java.lang.String elemId)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
focusGained()
Deprecated. |
void |
focusLost()
Deprecated. |
int |
getCaretPosition()
Deprecated. |
InputHandler |
getInputHandler()
Deprecated. |
java.lang.String |
getText()
Deprecated. |
void |
setCaretPosition(int caretPos)
Deprecated. |
void |
setCaretVisible(boolean isVisible)
Deprecated. |
void |
setStartOffset(int offset)
Deprecated. |
void |
setText(java.lang.String text)
Deprecated. |
| Methods inherited from class org.netbeans.microedition.svg.SVGComponent |
|---|
addActionListener, fireActionPerformed, getElement, getElementById, getElementByMeta, getElementByMeta, getForm, getLabel, getNestedElementByMeta, getProperty, isFocusable, removeActionListener, requestFocus, setFocusable, setProperty, setTraitSafely, setTraitSafely |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGTextArea(SVGForm form,
java.lang.String elemId)
| Method Detail |
|---|
public InputHandler getInputHandler()
getInputHandler in class SVGComponentpublic java.lang.String getText()
public void setText(java.lang.String text)
public void setCaretVisible(boolean isVisible)
public void focusGained()
focusGained in interface SVGForm.FocusListenerfocusGained in class SVGComponentpublic void focusLost()
focusLost in interface SVGForm.FocusListenerfocusLost in class SVGComponentpublic void setCaretPosition(int caretPos)
public void setStartOffset(int offset)
public int getCaretPosition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||