public class OptionPanel
extends com.simsilica.lemur.Panel
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | EFFECT_CLOSE | 
| static java.lang.String | EFFECT_OPEN | 
| static java.lang.String | ELEMENT_ID | 
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  | OptionPanel(boolean applyStyles,
           java.lang.String title,
           java.lang.String message,
           Action[] options,
           com.simsilica.lemur.style.ElementId elementId,
           java.lang.String style) | 
|   | OptionPanel(java.lang.String message,
           Action... options)Creates a new OptionPanel without a title but with the specified message
  and actions. | 
|   | OptionPanel(java.lang.String title,
           java.lang.String message,
           com.simsilica.lemur.style.ElementId elementId,
           java.lang.String style,
           Action... options)Creates a new OptionPanel with the specified title, message, style, and
  actions. | 
|   | OptionPanel(java.lang.String title,
           java.lang.String message,
           java.lang.String style,
           Action... options)Creates a new OptionPanel with the specified title, message, style, and
  actions. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Removes this panel from its parent. | 
| com.simsilica.lemur.Container | getButtons()Returns the container that holds the action buttons. | 
| com.simsilica.lemur.Container | getContainer()Returns the central container to which the message label
  was added. | 
| java.lang.String | getMessage() | 
| com.simsilica.lemur.Label | getMessageLabel()Returns the label element that holds the message text. | 
| Action[] | getOptions() | 
| java.lang.String | getTitle() | 
| com.simsilica.lemur.Label | getTitleLabel()Returns the label element that holds the title text. | 
| boolean | isVisible()Returns true if this panel is still attached to a parent
  and not CullHint.Always. | 
| void | setMessage(java.lang.String message)Sets the message text of this option panel that will
  appear on the option panel's container. | 
| void | setOptions(Action... options)Sets the actions that will be turned into ActionButtons at
  the bottom of the panel. | 
| void | setTitle(java.lang.String title)Sets the title of this option panel. | 
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, toStringattachChild, 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, updateLogicalState, updateModelBound, updateWorldBound, writeaddControl, 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, worldToLocalpublic static final java.lang.String ELEMENT_ID
public static final java.lang.String EFFECT_OPEN
public static final java.lang.String EFFECT_CLOSE
public OptionPanel(java.lang.String message,
                   Action... options)
public OptionPanel(java.lang.String title,
                   java.lang.String message,
                   java.lang.String style,
                   Action... options)
public OptionPanel(java.lang.String title,
                   java.lang.String message,
                   com.simsilica.lemur.style.ElementId elementId,
                   java.lang.String style,
                   Action... options)
protected OptionPanel(boolean applyStyles,
                      java.lang.String title,
                      java.lang.String message,
                      Action[] options,
                      com.simsilica.lemur.style.ElementId elementId,
                      java.lang.String style)
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public void setMessage(java.lang.String message)
public java.lang.String getMessage()
public void setOptions(Action... options)
public Action[] getOptions()
public com.simsilica.lemur.Container getContainer()
public com.simsilica.lemur.Label getTitleLabel()
public com.simsilica.lemur.Label getMessageLabel()
public com.simsilica.lemur.Container getButtons()
public boolean isVisible()
public void close()