de.esw.eengine.renderable.wtk.swing
Class WTKDelegate
java.lang.Object
de.esw.eengine.renderable.AbstractRenderable
de.esw.eengine.renderable.wtk.swing.WTKDelegate
- All Implemented Interfaces:
- IActivatable, IRenderable
public class WTKDelegate
- extends AbstractRenderable
- implements IActivatable
- Since:
- 1.0
- Version:
- $Id: WTKDelegate.java 209 2005-07-23 00:39:50Z markusw $
- Author:
- markusw
|
Constructor Summary |
WTKDelegate(Core core,
java.awt.Component component,
int x,
int y,
java.awt.Dimension dim)
|
WTKDelegate(Core core,
java.awt.Component component,
int x,
int y,
int width,
int height)
|
WTKDelegate(Core core,
javax.swing.JComponent component,
int x,
int y)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WTKDelegate
public WTKDelegate(Core core,
javax.swing.JComponent component,
int x,
int y)
- Parameters:
core - Core to attach this delegate tocomponent - JComponent to renderx - X position to render component aty - Y position to render component at
WTKDelegate
public WTKDelegate(Core core,
java.awt.Component component,
int x,
int y,
int width,
int height)
- Parameters:
core - Core to attach this delegate tocomponent - Component to renderx - X position to render component aty - Y position to render component atwidth - Width of the componentheight - Height of the component
WTKDelegate
public WTKDelegate(Core core,
java.awt.Component component,
int x,
int y,
java.awt.Dimension dim)
- Parameters:
core - Core to attach this delegate tocomponent - Component to renderx - X position to render component aty - Y position to render component atdim - The width and height of the component
render
public void render(IRenderDevice renderDevice)
- Description copied from interface:
IRenderable
- Renders this entity to the current
IRenderDevice
- Specified by:
render in interface IRenderable
- Parameters:
renderDevice - IRenderDevice to render onto- See Also:
IRenderable.render(de.esw.eengine.core.IRenderDevice)
setActive
public void setActive(boolean active)
- Specified by:
setActive in interface IActivatable
- Parameters:
active - True if IActivatable should be active, false
otherwise- See Also:
IActivatable.setActive(boolean)
isActive
public boolean isActive()
- Specified by:
isActive in interface IActivatable
- Returns:
- True if
IActivatable is active, false otherwise - See Also:
IActivatable.isActive()
toggle
public void toggle()
- Description copied from interface:
IActivatable
- Switches activation state
- Specified by:
toggle in interface IActivatable
- See Also:
IActivatable.toggle()