Class TextElement

java.lang.Object
java.util.Observable
org.schema.schine.graphicsengine.forms.AbstractSceneNode
org.schema.schine.graphicsengine.forms.gui.GUIElement
org.schema.schine.graphicsengine.forms.gui.GUITextOverlay
me.iron.WarpSpace.Mod.HUD.client.TextElement
All Implemented Interfaces:
org.schema.schine.graphicsengine.core.Drawable, org.schema.schine.graphicsengine.forms.Positionable, org.schema.schine.graphicsengine.forms.Scalable

public class TextElement
extends org.schema.schine.graphicsengine.forms.gui.GUITextOverlay
STARMADE MOD CREATOR: Max1M DATE: 26.10.2020 TIME: 21:02 blatantly stolen from pilotelement of star api
  • Field Summary

    Fields 
    Modifier and Type Field Description
    HUD_element parent  
    java.lang.String text  

    Fields inherited from class org.schema.schine.graphicsengine.forms.gui.GUITextOverlay

    autoHeight, autoWrapOn, debug, defaultFont, doDepthTest, limitTextWidth, wrapSimple

    Fields inherited from class org.schema.schine.graphicsengine.forms.gui.GUIElement

    callback, coord, deactivateCallbacks, ORIENTATION_BOTTOM, ORIENTATION_HORIZONTAL_MIDDLE, ORIENTATION_LEFT, ORIENTATION_NONE, ORIENTATION_RIGHT, ORIENTATION_TOP, ORIENTATION_VERTICAL_MIDDLE, RENDER_MODE_NORMAL, RENDER_MODE_SHADOW, renderMode, renderModeSet, textOverlay, translateOnlyMode, x16, x32

    Fields inherited from class org.schema.schine.graphicsengine.forms.AbstractSceneNode

    animation, animations, childs, initionPos, material, quatRot, rotTmp, VISIBILITY_HIDDEN, VISIBILITY_TREE_HIDDEN, VISIBILITY_TREE_VISIBLE, VISIBILITY_VISIBLE
  • Constructor Summary

    Constructors 
    Constructor Description
    TextElement​(org.newdawn.slick.UnicodeFont unicodeFont, org.schema.schine.input.InputState inputState)  
  • Method Summary

    Modifier and Type Method Description
    void draw()  
    void onInit()  

    Methods inherited from class org.schema.schine.graphicsengine.forms.gui.GUITextOverlay

    cleanUp, doOrientation, generateToolTip, getColor, getCurrentLineHeight, getCurrentLines, getFont, getHeight, getLimitTextDraw, getMaxLineWidth, getText, getTextHeight, getWidth, isBeginTextAtLast, isBlend, isPositionCenter, onDirty, setAWTColor, setBeginTextAtLast, setBlend, setClip, setColor, setColor, setColor, setFont, setHeight, setLimitTextDraw, setText, setTextFromArray, setTextSimple, setWidth, updateCacheForced, updateTextSize, useUncachedDefaultFont

    Methods inherited from class org.schema.schine.graphicsengine.forms.gui.GUIElement

    addObserver, attach, attach, attach, checkBlockingOnly, checkMouseInside, checkMouseInsideWithTransform, clone, detach, detachAll, disableOrthogonal, disableScreenProjection, drawAttached, drawClipped, drawClipped, drawInfo, enableOrthogonal, enableOrthogonal3d, enableOrthogonal3d, enableScreenProjection, endStandardDraw, getCallback, getCurrentAbsolutePos, getRelMousePos, getState, getUserPointer, isActive, isChanged, isCoordsInside, isInside, isMouseUpdateEnabled, isNewHud, isOnScreen, isRenderable, needsReOrientation, orientate, orientate, orientateInsideFrame, resetToolTip, setCallback, setChanged, setInside, setMouseUpdateEnabled, setUserPointer, startStandardDraw, transform, transformTranslation, wasInside

    Methods inherited from class org.schema.schine.graphicsengine.forms.AbstractSceneNode

    activateCulling, attach, deactivateCulling, detach, getAnimation, getAnimation, getAnimations, getBillboardSphericalBeginMatrix, getBoundingBox, getBoundingSphereRadius, getChilds, getInitialQuadRot, getInitialScale, getInitionPos, getMaterial, getName, getParent, getPos, getRot4, getScale, getTransform, getTreeString, getVisibility, getWorldTranslation, isAnimated, isFlipCulling, isInvisible, isLoaded, isMirrorMode, isTransformRotScaleIdentity, isVisibleInFrustum, makeBiggestBoundingBox, makeBoundingSphere, move, rotateBy, selectAnimation, setAnimated, setAnimation, setAnimations, setBoundingBox, setBoundingSphereRadius, setBufferedTransformation, setFlipCulling, setInitialQuadRot, setInitialScale, setInitionPos, setLoaded, setMaterial, setMirrorMode, setName, setParent, setPos, setPos, setQuatRot, setRot, setRot, setScale, setScale, setTransform, setVisibility, toString, transform, transformPlane, translate, translateBack, update

    Methods inherited from class java.util.Observable

    clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.schema.schine.graphicsengine.core.Drawable

    isInvisible

    Methods inherited from interface org.schema.schine.graphicsengine.forms.Positionable

    getPos

    Methods inherited from interface org.schema.schine.graphicsengine.forms.Scalable

    getScale, setScale
  • Field Details

  • Constructor Details

    • TextElement

      public TextElement​(org.newdawn.slick.UnicodeFont unicodeFont, org.schema.schine.input.InputState inputState)
  • Method Details

    • onInit

      public void onInit()
      Specified by:
      onInit in interface org.schema.schine.graphicsengine.core.Drawable
      Overrides:
      onInit in class org.schema.schine.graphicsengine.forms.gui.GUITextOverlay
    • draw

      public void draw()
      Specified by:
      draw in interface org.schema.schine.graphicsengine.core.Drawable
      Overrides:
      draw in class org.schema.schine.graphicsengine.forms.gui.GUITextOverlay