|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mt4j.components.MTComponent
org.mt4j.components.visibleComponents.AbstractVisibleComponent
org.mt4j.components.visibleComponents.shapes.AbstractShape
org.mt4j.components.visibleComponents.shapes.MTPolygon
org.mt4j.components.visibleComponents.shapes.MTRectangle
org.mt4j.components.visibleComponents.widgets.MTTextArea
org.mt4j.components.visibleComponents.widgets.MTTextField
public class MTTextField
The Class MTTextField. This is a modifed text area, that keeps a fixed size and ignores new lines ("\n"). So this is for single line of text with a fixed size no matter how long the actual text is.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.mt4j.components.visibleComponents.shapes.MTRectangle |
|---|
MTRectangle.PositionAnchor |
| Field Summary |
|---|
| Fields inherited from class org.mt4j.components.visibleComponents.shapes.AbstractShape |
|---|
BOUNDS_CHECK_THEN_GEOMETRY_CHECK, BOUNDS_DONT_USE, BOUNDS_ONLY_CHECK |
| Constructor Summary | |
|---|---|
MTTextField(float x, float y, float width, float height, IFont font, processing.core.PApplet applet)Instantiates a new mT text field. |
|
| Method Summary | |
|---|---|
protected void |
characterAdded(IFontCharacter character) |
protected void |
characterRemoved(IFontCharacter character) |
| Methods inherited from class org.mt4j.components.visibleComponents.widgets.MTTextArea |
|---|
appendCharByName, appendCharByUnicode, appendText, clear, drawComponent, getCharacters, getFont, getInnerPadding, getLastLineWidth, getLineCount, getMaxLineWidth, getScrollTextX, getScrollTextY, getText, getTotalLinesHeight, isEnableCaret, isSelected, postDraw, preDraw, removeLastCharacter, scrollTextX, scrollTextY, setBitmapFontTextureFiltered, setEnableCaret, setHeightLocal, setInnerPadding, setSelected, setText, setWidthLocal, snapToKeyboard, updateComponent |
| Methods inherited from class org.mt4j.components.visibleComponents.shapes.MTRectangle |
|---|
computeDefaultBounds, get2DPolygonArea, getAnchor, getCenterOfMass2DLocal, getCenterPointLocal, getPosition, setAnchor, setPositionGlobal, setPositionRelativeToParent, setSizeLocal |
| Methods inherited from class org.mt4j.components.visibleComponents.shapes.MTPolygon |
|---|
destroyComponent, drawPureGl, getGeometryIntersectionLocal, getHeightXY, getHeightXYVectLocal, getNormal, getWidthXY, getWidthXYVectLocal, isGeometryContainsPointLocal, setGeometryInfo, setHeightXYGlobal, setHeightXYRelativeToParent, setSizeXYGlobal, setSizeXYRelativeToParent, setVertices, setWidthXYGlobal, setWidthXYRelativeToParent |
| Methods inherited from class org.mt4j.components.visibleComponents.AbstractVisibleComponent |
|---|
applyStyle, getFillColor, getFillDrawMode, getFillPaint, getLineStipple, getMaterial, getStrokeColor, getStrokeWeight, getStyleInfo, isDrawSmooth, isNoFill, isNoStroke, postDrawChildren, setDrawSmooth, setFillDrawMode, setFillPaint, setLineStipple, setMaterial, setNoFill, setNoStroke, setStrokeWeight, setStyleInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mt4j.input.inputProcessors.componentProcessors.lassoProcessor.IdragClusterable |
|---|
getCenterPointGlobal |
| Methods inherited from interface org.mt4j.components.interfaces.IMTComponent3D |
|---|
getCustomViewportSetting, getDefaultViewportSetting, getIntersectionGlobal, getViewingCamera, hasCustomViewPort, isPickable, rotateXGlobal, rotateYGlobal, setPickable |
| Methods inherited from interface org.mt4j.components.interfaces.IMTComponent |
|---|
containsPointGlobal, getID, getName, getRenderer, isEnabled, isGestureAllowed, isVisible, processInputEvent, rotateZGlobal, scaleGlobal, setEnabled, setName, setVisible, translateGlobal |
| Constructor Detail |
|---|
public MTTextField(float x,
float y,
float width,
float height,
IFont font,
processing.core.PApplet applet)
x - the xy - the ywidth - the widthheight - the heightfont - the fontapplet - the applet| Method Detail |
|---|
protected void characterAdded(IFontCharacter character)
characterAdded in class MTTextArea
protected void characterRemoved(IFontCharacter character)
characterRemoved in class MTTextArea
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||