public class GridPanel
extends com.simsilica.lemur.Panel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_ID |
EFFECT_CLOSE, EFFECT_OPEN, LAYER_BACKGROUND, LAYER_BORDER, LAYER_INSETS
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localOverrides, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_CHILD_LIGHTLIST, RF_LIGHTLIST, RF_MATPARAM_OVERRIDE, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldOverrides, worldTransform
Modifier | Constructor and Description |
---|---|
protected |
GridPanel(boolean applyStyles,
GridModel<com.simsilica.lemur.Panel> model,
com.simsilica.lemur.style.ElementId elementId,
java.lang.String style) |
|
GridPanel(GridModel<com.simsilica.lemur.Panel> model) |
|
GridPanel(GridModel<com.simsilica.lemur.Panel> model,
com.simsilica.lemur.style.ElementId elementId,
java.lang.String style) |
|
GridPanel(GridModel<com.simsilica.lemur.Panel> model,
java.lang.String style) |
Modifier and Type | Method and Description |
---|---|
com.simsilica.lemur.Panel |
getCell(int r,
int c) |
int |
getColumn() |
GridModel<com.simsilica.lemur.Panel> |
getModel() |
int |
getRow() |
int |
getVisibleColumns() |
int |
getVisibleRows() |
static void |
initializeDefaultStyles(com.simsilica.lemur.style.Attributes attrs) |
protected void |
refreshGrid() |
void |
setAlpha(float alpha,
boolean recursive) |
void |
setColumn(int column) |
void |
setLocation(int row,
int column) |
void |
setModel(GridModel<com.simsilica.lemur.Panel> model) |
void |
setRow(int row) |
void |
setVisibleColumns(int columns) |
void |
setVisibleRows(int rows) |
void |
setVisibleSize(int rows,
int columns) |
java.lang.String |
toString() |
void |
updateLogicalState(float tpf) |
addEffect, addMouseListener, getAlpha, getBackground, getBorder, getEffectControl, getEffects, getElementId, getInsets, getInsetsComponent, getPreferredSize, getSize, getStyle, hasEffect, removeEffect, removeMouseListener, runEffect, setAlpha, setBackground, setBorder, setChildAlpha, setEffects, setInsets, setInsetsComponent, setPreferredSize, setSize
attachChild, attachChildAt, breadthFirstTraversal, clone, cloneFields, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, oldDeepClone, read, setLightListRefresh, setLodLevel, setMaterial, setMatParamOverrideRefresh, setModelBound, setParent, setTransformRefresh, swapChildren, updateGeometricState, updateModelBound, updateWorldBound, write
addControl, addLight, addMatParamOverride, breadthFirstTraversal, center, checkCulling, clearMatParamOverrides, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalMatParamOverrides, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldMatParamOverrides, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, jmeClone, localToWorld, lookAt, matches, move, move, oldClone, removeControl, removeControl, removeFromParent, removeLight, removeMatParamOverride, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setRequiresUpdates, setShadowMode, setUserData, updateMatParamOverrides, updateWorldLightList, updateWorldTransforms, worldToLocal
public static final java.lang.String ELEMENT_ID
public GridPanel(GridModel<com.simsilica.lemur.Panel> model)
public GridPanel(GridModel<com.simsilica.lemur.Panel> model, java.lang.String style)
public GridPanel(GridModel<com.simsilica.lemur.Panel> model, com.simsilica.lemur.style.ElementId elementId, java.lang.String style)
protected GridPanel(boolean applyStyles, GridModel<com.simsilica.lemur.Panel> model, com.simsilica.lemur.style.ElementId elementId, java.lang.String style)
public static void initializeDefaultStyles(com.simsilica.lemur.style.Attributes attrs)
public void setModel(GridModel<com.simsilica.lemur.Panel> model)
public GridModel<com.simsilica.lemur.Panel> getModel()
public void setRow(int row)
public int getRow()
public void setColumn(int column)
public int getColumn()
public com.simsilica.lemur.Panel getCell(int r, int c)
public void setLocation(int row, int column)
public void setVisibleSize(int rows, int columns)
public void setVisibleRows(int rows)
public int getVisibleRows()
public void setVisibleColumns(int columns)
public int getVisibleColumns()
public void setAlpha(float alpha, boolean recursive)
setAlpha
in class com.simsilica.lemur.Panel
protected void refreshGrid()
public void updateLogicalState(float tpf)
updateLogicalState
in class com.jme3.scene.Node
public java.lang.String toString()
toString
in class com.simsilica.lemur.Panel