public class ViewportLayoutManager extends Object implements GraphicsResizeListener
| Constructor and Description |
|---|
ViewportLayoutManager()
Create a new instance of this manager now.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addManagedViewport(Viewport view,
float x,
float y,
float width,
float height)
Add a viewport to be managed.
|
void |
clear()
Clear all of the current viewports from the manager.
|
void |
graphicsDeviceResized(int x,
int y,
int width,
int height) |
void |
removeManagedViewport(Viewport view)
Remove a viewport that is being managed.
|
void |
sendResizeUpdates()
Clock the updates that should be sent now.
|
public ViewportLayoutManager()
public void graphicsDeviceResized(int x,
int y,
int width,
int height)
graphicsDeviceResized in interface GraphicsResizeListenerpublic void sendResizeUpdates()
public void addManagedViewport(Viewport view, float x, float y, float width, float height)
view - The viewport instance to usepublic void removeManagedViewport(Viewport view)
view - The viewport instance to removepublic void clear()
Copyright © 2001 - 2015 j3d.org