Package com.github.tommyettinger.textra
Class TextraArea
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
com.badlogic.gdx.scenes.scene2d.ui.Container<com.badlogic.gdx.scenes.scene2d.ui.ScrollPane>
com.github.tommyettinger.textra.TextraArea
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable,com.badlogic.gdx.scenes.scene2d.utils.Layout
public class TextraArea
extends com.badlogic.gdx.scenes.scene2d.ui.Container<com.badlogic.gdx.scenes.scene2d.ui.ScrollPane>
A multiple-line
TextraField using a Font. This is not ready for use yet.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA multiple-lineTextraFieldusing aFont; this is the inner multi-line text entry field that gets scrolled through by the parent class. -
Field Summary
FieldsFields inherited from class com.badlogic.gdx.scenes.scene2d.Actor
POOLS -
Constructor Summary
ConstructorsConstructorDescriptionTextraArea(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) TextraArea(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, Font replacementFont) TextraArea(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName, String paneStyleName) TextraArea(String text, Styles.TextFieldStyle style, com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle paneStyle) TextraArea(String text, Styles.TextFieldStyle style, com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle paneStyle, Font replacementFont) -
Method Summary
Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Container
addActor, addActorAfter, addActorAt, addActorBefore, align, background, bottom, center, clip, clip, draw, drawBackground, drawDebug, fill, fill, fill, fill, fillX, fillY, getActor, getAlign, getBackground, getClip, getFillX, getFillY, getMaxHeight, getMaxHeightValue, getMaxWidth, getMaxWidthValue, getMinHeight, getMinHeightValue, getMinWidth, getPadBottom, getPadBottomValue, getPadLeft, getPadLeftValue, getPadRight, getPadRightValue, getPadTop, getPadTopValue, getPadX, getPadY, getPrefHeight, getPrefHeightValue, getPrefWidth, getPrefWidthValue, height, height, hit, layout, left, maxHeight, maxHeight, maxSize, maxSize, maxSize, maxSize, maxWidth, maxWidth, minHeight, minHeight, minSize, minSize, minSize, minSize, minWidth, minWidth, pad, pad, pad, pad, padBottom, padBottom, padLeft, padLeft, padRight, padRight, padTop, padTop, prefHeight, prefHeight, prefSize, prefSize, prefSize, prefSize, prefWidth, prefWidth, removeActor, removeActor, removeActorAt, right, setActor, setBackground, setBackground, setClip, setCullingArea, setRound, size, size, size, size, top, width, widthMethods inherited from class com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
childrenChanged, invalidate, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, validateMethods inherited from class com.badlogic.gdx.scenes.scene2d.Group
act, applyTransform, applyTransform, clear, clear, clearChildren, clearChildren, computeTransform, debugAll, drawChildren, drawDebugChildren, findActor, getChild, getChildren, getCullingArea, hasChildren, isTransform, localToDescendantCoordinates, resetTransform, resetTransform, setDebug, setStage, setTransform, swapActor, swapActor, toStringMethods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebugBounds, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, rotationChanged, scaleBy, scaleBy, scaleChanged, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront
-
Field Details
-
inner
-
-
Constructor Details
-
TextraArea
-
TextraArea
-
TextraArea
-
TextraArea
public TextraArea(String text, Styles.TextFieldStyle style, com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle paneStyle) -
TextraArea
public TextraArea(String text, Styles.TextFieldStyle style, com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle paneStyle, Font replacementFont)
-
-
Method Details
-
getFont
-
setFont
-
sizeChanged
protected void sizeChanged()- Overrides:
sizeChangedin classcom.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
-