|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esotericsoftware.tablelayout.Toolkit<C,T,L>
public abstract class Toolkit<C,T extends C,L extends BaseTableLayout>
Base class for UI toolkit.
Field Summary | |
---|---|
static Toolkit |
instance
|
Constructor Summary | |
---|---|
Toolkit()
|
Method Summary | |
---|---|
abstract void |
addChild(C parent,
C child)
|
abstract void |
addDebugRectangle(L layout,
BaseTableLayout.Debug type,
float x,
float y,
float w,
float h)
Adds a rectangle that should be drawn for debugging. |
abstract void |
clearDebugRectangles(L layout)
Clears all debugging rectangles. |
abstract void |
freeCell(Cell cell)
|
abstract float |
getHeight(C widget)
|
abstract float |
getMaxHeight(C widget)
|
abstract float |
getMaxWidth(C widget)
|
abstract float |
getMinHeight(C widget)
|
abstract float |
getMinWidth(C widget)
|
abstract float |
getPrefHeight(C widget)
|
abstract float |
getPrefWidth(C widget)
|
abstract float |
getWidth(C widget)
|
float |
height(float value)
Interprets the specified value as a size. |
abstract Cell |
obtainCell(L layout)
|
abstract void |
removeChild(C parent,
C child)
|
void |
setWidget(L layout,
Cell cell,
C widget)
|
float |
width(float value)
Interprets the specified value as a size. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Toolkit instance
Constructor Detail |
---|
public Toolkit()
Method Detail |
---|
public abstract Cell obtainCell(L layout)
public abstract void freeCell(Cell cell)
public abstract void addChild(C parent, C child)
public abstract void removeChild(C parent, C child)
public abstract float getMinWidth(C widget)
public abstract float getMinHeight(C widget)
public abstract float getPrefWidth(C widget)
public abstract float getPrefHeight(C widget)
public abstract float getMaxWidth(C widget)
public abstract float getMaxHeight(C widget)
public abstract float getWidth(C widget)
public abstract float getHeight(C widget)
public abstract void clearDebugRectangles(L layout)
public abstract void addDebugRectangle(L layout, BaseTableLayout.Debug type, float x, float y, float w, float h)
public void setWidget(L layout, Cell cell, C widget)
widget
- May be null.public float width(float value)
Value.width(Object)
,
Value.width(Cell)
public float height(float value)
Value.height(Object)
,
Value.height(Cell)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |