public class TestBitmapFontLayout extends SimpleApplication
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESET_VIEW |
static java.lang.String |
RESET_ZOOM |
static java.lang.String |
SCROLL_DOWN |
static java.lang.String |
SCROLL_LEFT |
static java.lang.String |
SCROLL_RIGHT |
static float |
SCROLL_SPEED |
static java.lang.String |
SCROLL_UP |
static java.lang.String |
ZOOM_IN |
static java.lang.String |
ZOOM_OUT |
static float |
ZOOM_SPEED |
flyCam, fpsText, guiFont, guiNode, INPUT_MAPPING_CAMERA_POS, INPUT_MAPPING_EXIT, INPUT_MAPPING_HIDE_STATS, INPUT_MAPPING_MEMORY, rootNode, showSettings
assetManager, audioRenderer, cam, context, guiViewPort, inputEnabled, inputManager, joyInput, keyInput, listener, lostFocusBehavior, mouseInput, paused, prof, renderer, renderManager, settings, speed, stateManager, timer, touchInput, viewPort
Constructor and Description |
---|
TestBitmapFontLayout() |
Modifier and Type | Method and Description |
---|---|
protected Node |
createVisual(jme3test.gui.TestBitmapFontLayout.TestConfig test) |
static java.awt.Font |
loadTtf(java.lang.String resource) |
static void |
main(java.lang.String[] args) |
protected Texture |
renderAwtFont(jme3test.gui.TestBitmapFontLayout.TestConfig test,
int width,
int height,
BitmapFont bitmapFont) |
protected void |
resetView() |
protected void |
resetZoom() |
protected void |
setupInstructionsNote() |
protected void |
setupTestScene() |
protected void |
setupUserInput() |
void |
simpleInitApp() |
void |
simpleUpdate(float tpf) |
getFlyByCamera, getGuiNode, getRootNode, getSpeed, initialize, isShowSettings, loadGuiFont, setDisplayFps, setDisplayStatView, setShowSettings, setSpeed, simpleRender, start, update
createCanvas, destroy, destroyInput, enqueue, enqueue, gainFocus, getAppProfiler, getAssetManager, getAudioRenderer, getCamera, getContext, getGuiViewPort, getInputManager, getListener, getLostFocusBehavior, getRenderer, getRenderManager, getStateManager, getTimer, getViewPort, handleError, isPauseOnLostFocus, loseFocus, requestClose, reshape, restart, runQueuedTasks, setAppProfiler, setAssetManager, setLostFocusBehavior, setPauseOnLostFocus, setSettings, setTimer, start, start, start, startCanvas, startCanvas, stop, stop
public static final java.lang.String SCROLL_UP
public static final java.lang.String SCROLL_DOWN
public static final java.lang.String SCROLL_LEFT
public static final java.lang.String SCROLL_RIGHT
public static final java.lang.String ZOOM_IN
public static final java.lang.String ZOOM_OUT
public static final java.lang.String RESET_ZOOM
public static final java.lang.String RESET_VIEW
public static final float ZOOM_SPEED
public static final float SCROLL_SPEED
public static void main(java.lang.String[] args)
public static java.awt.Font loadTtf(java.lang.String resource)
protected Texture renderAwtFont(jme3test.gui.TestBitmapFontLayout.TestConfig test, int width, int height, BitmapFont bitmapFont)
protected Node createVisual(jme3test.gui.TestBitmapFontLayout.TestConfig test)
public void simpleInitApp()
simpleInitApp
in class SimpleApplication
protected void setupInstructionsNote()
protected void setupTestScene()
protected void resetZoom()
protected void resetView()
protected void setupUserInput()
public void simpleUpdate(float tpf)
simpleUpdate
in class SimpleApplication