|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.layout.Pane
org.tbee.javafx.scene.layout.MigPane
public class MigPane
Manages nodes with MigLayout added via add(node, CC)
| Field Summary | |
|---|---|
protected static Map<javafx.scene.Node,CC> |
cNodeToCC
|
static String |
COLUMNCONSTRAINTS_PROPERTY_ID
|
static String |
LAYOUTCONSTRAINTS_PROPERTY_ID
|
static String |
ROWCONSTRAINTS_PROPERTY_ID
|
| Fields inherited from class javafx.scene.layout.Region |
|---|
USE_COMPUTED_SIZE, USE_PREF_SIZE |
| Constructor Summary | |
|---|---|
MigPane()
|
|
MigPane(LC layoutConstraints)
use the class layout constraints |
|
MigPane(LC layoutConstraints,
AC colConstraints)
use the class layout constraints |
|
MigPane(LC layoutConstraints,
AC colConstraints,
AC rowConstraints)
use the class layout constraints |
|
MigPane(String layoutConstraints)
usee the string layout constraints |
|
MigPane(String layoutConstraints,
String colConstraints)
usee the string layout constraints |
|
MigPane(String layoutConstraints,
String colConstraints,
String rowConstraints)
usee the string layout constraints |
|
| Method Summary | |
|---|---|
void |
add(javafx.scene.Node node)
|
void |
add(javafx.scene.Node node,
CC cc)
|
void |
add(javafx.scene.Node node,
String cc)
|
void |
clearDebug()
|
protected double |
computeMaxHeight(double width)
|
protected double |
computeMaxWidth(double height)
|
protected double |
computeMinHeight(double width)
|
protected double |
computeMinWidth(double height)
|
protected double |
computePrefHeight(double width)
|
protected double |
computePrefWidth(double height)
|
AC |
getColumnConstraints()
ColumnConstraints: |
LC |
getLayoutConstraints()
LayoutConstraints: |
AC |
getRowConstraints()
RowConstraints: |
protected void |
layoutChildren()
This is where the actual layout happens |
void |
setColumnConstraints(AC value)
|
void |
setLayoutConstraints(LC value)
|
void |
setRowConstraints(AC value)
|
MigPane |
withColumnConstraints(AC value)
|
MigPane |
withLayoutConstraints(LC value)
|
MigPane |
withRowConstraints(AC value)
|
| Methods inherited from class javafx.scene.layout.Pane |
|---|
getChildren |
| Methods inherited from class javafx.scene.layout.Region |
|---|
getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPadding, getPrefHeight, getPrefWidth, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPGNode, impl_CSS_STYLEABLES, impl_cssSet, impl_cssSettable, impl_cssStyleablePropertyBitIndices, impl_getBackgroundFills, impl_getPositionShape, impl_getScaleShape, impl_getShape, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_pickNodeLocal, impl_setBackgroundFills, impl_setPositionShape, impl_setScaleShape, impl_setShape, impl_updatePG, insets, isResizable, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setSnapToPixel, setWidth, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthProperty |
| Methods inherited from class javafx.scene.Parent |
|---|
getBaselineOffset, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, impl_geomChanged, impl_printBranch, impl_processCSS, impl_processMXNode, impl_resizeChildren, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, setImpl_traversalEngine, setNeedsLayout |
| Methods inherited from class javafx.scene.Node |
|---|
addEventFilter, addEventHandler, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnScroll, getOpacity, getParent, getProperties, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_createStyleHelper, impl_cssClearUserSetProperties, impl_cssPropertyInvalidated, impl_cssSet, impl_cssSettable, impl_cssUserSetProperty, impl_getClassToStyle, impl_getLeafTransform, impl_getPGNode, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getPseudoClassState, impl_getStyleCacheKey, impl_getStyleHelper, impl_intersects, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_pickNode, impl_pseudoClassStateChanged, impl_reapplyCSS, impl_requestFocusImpl, impl_setShowMnemonics, impl_showMnemonicsProperty, impl_syncPGNode, impl_syncPGNodeDirect, impl_transformsChanged, impl_traverse, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToScene, localToScene, localToScene, lookupAll, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onScrollProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnScroll, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, visibleProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final Map<javafx.scene.Node,CC> cNodeToCC
public static final String LAYOUTCONSTRAINTS_PROPERTY_ID
public static final String COLUMNCONSTRAINTS_PROPERTY_ID
public static final String ROWCONSTRAINTS_PROPERTY_ID
| Constructor Detail |
|---|
public MigPane()
public MigPane(LC layoutConstraints)
public MigPane(LC layoutConstraints,
AC colConstraints)
public MigPane(LC layoutConstraints,
AC colConstraints,
AC rowConstraints)
public MigPane(String layoutConstraints)
public MigPane(String layoutConstraints,
String colConstraints)
public MigPane(String layoutConstraints,
String colConstraints,
String rowConstraints)
| Method Detail |
|---|
public LC getLayoutConstraints()
public void setLayoutConstraints(LC value)
public MigPane withLayoutConstraints(LC value)
public AC getColumnConstraints()
public void setColumnConstraints(AC value)
public MigPane withColumnConstraints(AC value)
public AC getRowConstraints()
public void setRowConstraints(AC value)
public MigPane withRowConstraints(AC value)
public void add(javafx.scene.Node node,
CC cc)
node - cc - public void add(javafx.scene.Node node)
node -
public void add(javafx.scene.Node node,
String cc)
node - cc - protected void layoutChildren()
layoutChildren in class javafx.scene.layout.Regionpublic void clearDebug()
protected double computeMaxHeight(double width)
computeMaxHeight in class javafx.scene.layout.Regionprotected double computeMaxWidth(double height)
computeMaxWidth in class javafx.scene.layout.Regionprotected double computeMinHeight(double width)
computeMinHeight in class javafx.scene.layout.Regionprotected double computeMinWidth(double height)
computeMinWidth in class javafx.scene.layout.Regionprotected double computePrefHeight(double width)
computePrefHeight in class javafx.scene.layout.Regionprotected double computePrefWidth(double height)
computePrefWidth in class javafx.scene.layout.Region
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||