com.jme3.system
クラス NullContext

java.lang.Object
  上位を拡張 com.jme3.system.NullContext
すべての実装されたインタフェース:
JmeContext, java.lang.Runnable

public class NullContext
extends java.lang.Object
implements JmeContext, java.lang.Runnable


入れ子のクラスの概要
 
インタフェース com.jme3.system.JmeContext から継承された入れ子のクラス/インタフェース
JmeContext.Type
 
コンストラクタの概要
NullContext()
           
 
メソッドの概要
 void create()
           
 void create(boolean waitFor)
          Creates the context and makes it active.
 void destroy()
           
 void destroy(boolean waitFor)
          Destroys the context completely, making it inactive.
 JoyInput getJoyInput()
           
 KeyInput getKeyInput()
           
 MouseInput getMouseInput()
           
 Renderer getRenderer()
           
 AppSettings getSettings()
           
 Timer getTimer()
           
 TouchInput getTouchInput()
           
 JmeContext.Type getType()
           
 boolean isCreated()
           
 boolean isRenderable()
           
 void restart()
          Destroys and then re-creates the context.
 void run()
           
 void setAutoFlushFrames(boolean enabled)
           
 void setSettings(AppSettings settings)
           
 void setSystemListener(SystemListener listener)
          Sets the listener that will receive events relating to context creation, update, and destroy.
 void setTitle(java.lang.String title)
          Sets the title of the display (if available).
 void sync(int fps)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

NullContext

public NullContext()
メソッドの詳細

getType

public JmeContext.Type getType()
定義:
インタフェース JmeContext 内の getType
戻り値:
The type of the context.

setSystemListener

public void setSystemListener(SystemListener listener)
インタフェース JmeContext の記述:
Sets the listener that will receive events relating to context creation, update, and destroy.

定義:
インタフェース JmeContext 内の setSystemListener

sync

public void sync(int fps)

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run

destroy

public void destroy(boolean waitFor)
インタフェース JmeContext の記述:
Destroys the context completely, making it inactive.

定義:
インタフェース JmeContext 内の destroy
パラメータ:
waitFor - If true, will wait until the context is destroyed fully.

create

public void create(boolean waitFor)
インタフェース JmeContext の記述:
Creates the context and makes it active.

定義:
インタフェース JmeContext 内の create
パラメータ:
waitFor - If true, will wait until context has initialized.

restart

public void restart()
インタフェース JmeContext の記述:
Destroys and then re-creates the context. This should be called after the display settings have been changed.

定義:
インタフェース JmeContext 内の restart

setAutoFlushFrames

public void setAutoFlushFrames(boolean enabled)
定義:
インタフェース JmeContext 内の setAutoFlushFrames
パラメータ:
enabled - If enabled, the context will automatically flush frames to the video card (swap buffers) after an update cycle.

getMouseInput

public MouseInput getMouseInput()
定義:
インタフェース JmeContext 内の getMouseInput
戻り値:
Mouse input implementation. May be null if not available.

getKeyInput

public KeyInput getKeyInput()
定義:
インタフェース JmeContext 内の getKeyInput
戻り値:
Keyboard input implementation. May be null if not available.

getJoyInput

public JoyInput getJoyInput()
定義:
インタフェース JmeContext 内の getJoyInput
戻り値:
Joystick input implementation. May be null if not available.

getTouchInput

public TouchInput getTouchInput()
定義:
インタフェース JmeContext 内の getTouchInput
戻り値:
Touch device input implementation. May be null if not available.

setTitle

public void setTitle(java.lang.String title)
インタフェース JmeContext の記述:
Sets the title of the display (if available). This does nothing for fullscreen, headless, or canvas contexts.

定義:
インタフェース JmeContext 内の setTitle
パラメータ:
title - The new title of the display.

create

public void create()

destroy

public void destroy()

isCreated

public boolean isCreated()
定義:
インタフェース JmeContext 内の isCreated
戻り値:
True if the context has been created but not yet destroyed.

setSettings

public void setSettings(AppSettings settings)
定義:
インタフェース JmeContext 内の setSettings
パラメータ:
settings - the display settings to use for the created context. If the context has already been created, then restart() must be called for the changes to be applied.

getSettings

public AppSettings getSettings()
定義:
インタフェース JmeContext 内の getSettings
戻り値:
The current display settings. Note that they might be different from the ones set with setDisplaySettings() if the context was restarted or the settings changed internally.

getRenderer

public Renderer getRenderer()
定義:
インタフェース JmeContext 内の getRenderer
戻り値:
The renderer for this context, or null if not created yet.

getTimer

public Timer getTimer()
定義:
インタフェース JmeContext 内の getTimer
戻り値:
The timer for this context, or null if not created yet.

isRenderable

public boolean isRenderable()
定義:
インタフェース JmeContext 内の isRenderable
戻り値:
True if the context contains a valid render surface, if any of the rendering methods in Renderer are called while this is false, then the result is undefined.