public class TextField extends Panel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_ID |
static java.lang.String |
LAYER_TEXT |
EFFECT_CLOSE, EFFECT_OPEN, LAYER_BACKGROUND, LAYER_BORDER, LAYER_INSETS
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localOverrides, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_CHILD_LIGHTLIST, RF_LIGHTLIST, RF_MATPARAM_OVERRIDE, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldOverrides, worldTransform
Modifier | Constructor and Description |
---|---|
|
TextField(DocumentModel model) |
protected |
TextField(DocumentModel model,
boolean applyStyles,
ElementId elementId,
java.lang.String style) |
|
TextField(DocumentModel model,
ElementId elementId,
java.lang.String style) |
|
TextField(DocumentModel model,
java.lang.String style) |
|
TextField(java.lang.String text) |
|
TextField(java.lang.String text,
ElementId elementId) |
|
TextField(java.lang.String text,
ElementId elementId,
java.lang.String style) |
|
TextField(java.lang.String text,
java.lang.String style) |
addEffect, addMouseListener, getAlpha, getBackground, getBorder, getEffectControl, getEffects, getElementId, getInsets, getInsetsComponent, getPreferredSize, getSize, getStyle, hasEffect, removeEffect, removeMouseListener, runEffect, setAlpha, setAlpha, setBackground, setBorder, setChildAlpha, setEffects, setInsets, setInsetsComponent, setPreferredSize, setSize
attachChild, attachChildAt, breadthFirstTraversal, clone, cloneFields, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, oldDeepClone, read, setLightListRefresh, setLodLevel, setMaterial, setMatParamOverrideRefresh, setModelBound, setParent, setTransformRefresh, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, updateWorldBound, write
addControl, addLight, addMatParamOverride, breadthFirstTraversal, center, checkCulling, clearMatParamOverrides, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalMatParamOverrides, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldMatParamOverrides, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, jmeClone, localToWorld, lookAt, matches, move, move, oldClone, removeControl, removeControl, removeFromParent, removeLight, removeMatParamOverride, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setRequiresUpdates, setShadowMode, setUserData, updateMatParamOverrides, updateWorldLightList, updateWorldTransforms, worldToLocal
public static final java.lang.String ELEMENT_ID
public static final java.lang.String LAYER_TEXT
public TextField(java.lang.String text)
public TextField(DocumentModel model)
public TextField(java.lang.String text, java.lang.String style)
public TextField(java.lang.String text, ElementId elementId)
public TextField(java.lang.String text, ElementId elementId, java.lang.String style)
public TextField(DocumentModel model, java.lang.String style)
public TextField(DocumentModel model, ElementId elementId, java.lang.String style)
protected TextField(DocumentModel model, boolean applyStyles, ElementId elementId, java.lang.String style)
protected void setDocumentModel(DocumentModel model)
protected TextEntryComponent createTextEntryComponent(DocumentModel model)
public static void initializeDefaultStyles(Attributes attrs)
public java.util.Map<KeyAction,KeyActionListener> getActionMap()
public DocumentModel getDocumentModel()
@StyleAttribute(value="text", lookupDefault=false) public void setText(java.lang.String s)
public java.lang.String getText()
@StyleAttribute(value="textVAlignment", lookupDefault=false) public void setTextVAlignment(VAlignment a)
public VAlignment getTextVAlignment()
@StyleAttribute(value="textHAlignment", lookupDefault=false) public void setTextHAlignment(HAlignment a)
public HAlignment getTextHAlignment()
@StyleAttribute(value="font") public void setFont(com.jme3.font.BitmapFont f)
public com.jme3.font.BitmapFont getFont()
@StyleAttribute(value="color") public void setColor(com.jme3.math.ColorRGBA color)
public com.jme3.math.ColorRGBA getColor()
@StyleAttribute(value="fontSize") public void setFontSize(float f)
public float getFontSize()
@StyleAttribute(value="singleLine") public void setSingleLine(boolean f)
public boolean isSingleLine()
@StyleAttribute(value="preferredWidth") public void setPreferredWidth(float f)
public float getPreferredWidth()
@StyleAttribute(value="preferredLineCount") public void setPreferredLineCount(int i)
public float getPreferredLineCount()
@StyleAttribute(value="preferredCursorWidth") public void setPreferredCursorWidth(java.lang.Float f)
public java.lang.Float getPreferredCursorWidth()