public class RollupPanel extends Panel
Modifier and Type | Class and Description |
---|---|
protected class |
RollupPanel.OpenCheckboxModel |
protected class |
RollupPanel.ToggleOpenCommand |
EFFECT_CLOSE, EFFECT_OPEN, ELEMENT_ID, 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 |
---|---|
|
RollupPanel(java.lang.String title,
ElementId elementId,
java.lang.String style) |
protected |
RollupPanel(java.lang.String titleString,
Panel contents,
boolean applyStyles,
ElementId elementId,
java.lang.String style) |
|
RollupPanel(java.lang.String title,
Panel contents,
ElementId elementId,
java.lang.String style) |
|
RollupPanel(java.lang.String title,
Panel contents,
java.lang.String style) |
|
RollupPanel(java.lang.String title,
java.lang.String style) |
Modifier and Type | Method and Description |
---|---|
Panel |
getContents()
Returns the panel that is expaned and collapsed during
rollup.
|
CheckboxModel |
getOpenModel()
Returns the checkbox model that is used to determine open/close
state.
|
java.lang.String |
getTitle()
Returns the string that appears in the title bar button.
|
Container |
getTitleContainer()
Returns the titlebar container that holds the main title
bar button.
|
Button |
getTitleElement()
Returns the title bar button.
|
boolean |
isOpen()
Returns true if the rollup panel is open, false if it is
closed.
|
protected void |
resetOpen() |
void |
setContents(Panel p)
Resets the child contents that will be expanded/collapsed
with the rollup.
|
void |
setOpen(boolean open)
Set to true to open the rollup panel or false to close it.
|
void |
setOpenModel(CheckboxModel cm)
Sets the checkbox model used to determine open/close state.
|
void |
setTitle(java.lang.String titleString)
Sets the title that appears in the title bar button.
|
protected void |
setupCommands() |
void |
updateLogicalState(float tpf) |
addEffect, addMouseListener, getAlpha, getBackground, getBorder, getEffectControl, getEffects, getElementId, getInsets, getInsetsComponent, getPreferredSize, getSize, getStyle, hasEffect, initializeDefaultStyles, removeEffect, removeMouseListener, runEffect, setAlpha, setAlpha, setBackground, setBorder, setChildAlpha, setEffects, setInsets, setInsetsComponent, setPreferredSize, setSize, toString
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 RollupPanel(java.lang.String title, java.lang.String style)
public RollupPanel(java.lang.String title, ElementId elementId, java.lang.String style)
public RollupPanel(java.lang.String title, Panel contents, java.lang.String style)
public RollupPanel(java.lang.String title, Panel contents, ElementId elementId, java.lang.String style)
protected final void setupCommands()
public void setContents(Panel p)
public Panel getContents()
public void setTitle(java.lang.String titleString)
public java.lang.String getTitle()
public Button getTitleElement()
public Container getTitleContainer()
public void setOpen(boolean open)
public boolean isOpen()
public void setOpenModel(CheckboxModel cm)
public CheckboxModel getOpenModel()
public void updateLogicalState(float tpf)
updateLogicalState
in class com.jme3.scene.Node
protected void resetOpen()