public class GridLayoutPane extends AbstractLayoutPane<GridData>
| Type | Property and Description |
|---|---|
@NonNull javafx.beans.property.IntegerProperty |
horizontalSpacing |
@NonNull javafx.beans.property.BooleanProperty |
makeColumnsEqualWidth |
@NonNull javafx.beans.property.IntegerProperty |
marginBottom |
@NonNull javafx.beans.property.IntegerProperty |
marginHeight |
@NonNull javafx.beans.property.IntegerProperty |
marginLeft |
@NonNull javafx.beans.property.IntegerProperty |
marginRight |
@NonNull javafx.beans.property.IntegerProperty |
marginTop |
@NonNull javafx.beans.property.IntegerProperty |
marginWidth |
@NonNull javafx.beans.property.IntegerProperty |
numColumns |
@NonNull javafx.beans.property.IntegerProperty |
verticalSpacing |
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthPropertyimpl_traversalEngineProperty, needsLayoutPropertyblendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, nodeOrientationProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visiblePropertyFX_DEFAULT| Constructor and Description |
|---|
GridLayoutPane() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.fx.ui.panes.AbstractLayoutPane.Size |
computeSize(double width,
double height,
boolean flushCache)
Compute the size
|
static java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> |
getClassCssMetaData() |
static @Nullable GridData |
getConstraint(@NonNull javafx.scene.Node n)
Get the layout constraint for the node
|
java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> |
getCssMetaData() |
int |
getHorizontalSpacing() |
int |
getMarginBottom() |
int |
getMarginHeight() |
int |
getMarginLeft() |
int |
getMarginRight() |
int |
getMarginTop() |
int |
getMarginWidth() |
int |
getNumColumns() |
int |
getVerticalSpacing() |
@NonNull javafx.beans.property.IntegerProperty |
horizontalSpacingProperty() |
boolean |
isMakeColumnsEqualWidth() |
protected void |
layoutChildren() |
@NonNull javafx.beans.property.BooleanProperty |
makeColumnsEqualWidthProperty() |
@NonNull javafx.beans.property.IntegerProperty |
marginBottomProperty() |
@NonNull javafx.beans.property.IntegerProperty |
marginHeightProperty() |
@NonNull javafx.beans.property.IntegerProperty |
marginLeftProperty() |
@NonNull javafx.beans.property.IntegerProperty |
marginRightProperty() |
@NonNull javafx.beans.property.IntegerProperty |
marginTopProperty() |
@NonNull javafx.beans.property.IntegerProperty |
marginWidthProperty() |
@NonNull javafx.beans.property.IntegerProperty |
numColumnsProperty() |
static void |
setConstraint(@NonNull javafx.scene.Node n,
@NonNull GridData griddata)
Associate a layout constraint with the node
|
void |
setHorizontalSpacing(int value)
Horizontal spacing between columns
|
void |
setMakeColumnsEqualWidth(boolean makeColumnsEqualWidth)
If
true all columns have the same width |
void |
setMarginBottom(int value)
The margin on the bottom
|
void |
setMarginHeight(int value)
Margin on the top and bottom
|
void |
setMarginLeft(int value)
The margin on the left
|
void |
setMarginRight(int value)
The margin on the right
|
void |
setMarginTop(int value)
The margin on the top
|
void |
setMarginWidth(int value)
Margin on the left and right
|
void |
setNumColumns(int numColumns)
The number of columns
|
void |
setVerticalSpacing(int value)
The vertical spacing between rows
|
@NonNull javafx.beans.property.IntegerProperty |
verticalSpacingProperty() |
computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getConstraint, setConstraintbackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthPropertygetBaselineOffset, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processCSS, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBoundsaddEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_cssGetFocusTraversableInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visiblePropertypublic final @NonNull javafx.beans.property.IntegerProperty numColumnsProperty
getNumColumns(),
setNumColumns(int)public final @NonNull javafx.beans.property.BooleanProperty makeColumnsEqualWidthProperty
public final @NonNull javafx.beans.property.IntegerProperty horizontalSpacingProperty
getHorizontalSpacing(),
setHorizontalSpacing(int)public final @NonNull javafx.beans.property.IntegerProperty marginWidthProperty
getMarginWidth(),
setMarginWidth(int)public final @NonNull javafx.beans.property.IntegerProperty marginHeightProperty
getMarginHeight(),
setMarginHeight(int)public final @NonNull javafx.beans.property.IntegerProperty marginLeftProperty
getMarginLeft(),
setMarginLeft(int)public final @NonNull javafx.beans.property.IntegerProperty marginTopProperty
getMarginTop(),
setMarginTop(int)public final @NonNull javafx.beans.property.IntegerProperty marginRightProperty
getMarginRight(),
setMarginRight(int)public final @NonNull javafx.beans.property.IntegerProperty marginBottomProperty
getMarginBottom(),
setMarginBottom(int)public final @NonNull javafx.beans.property.IntegerProperty verticalSpacingProperty
getVerticalSpacing(),
setVerticalSpacing(int)public static java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getClassCssMetaData()
public java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getCssMetaData()
getCssMetaData in interface javafx.css.StyleablegetCssMetaData in class javafx.scene.layout.Regionpublic static final void setConstraint(@NonNull javafx.scene.Node n,
@NonNull GridData griddata)
n - the nodegriddata - the constraintpublic static final @Nullable GridData getConstraint(@NonNull javafx.scene.Node n)
n - the nodenullprotected org.eclipse.fx.ui.panes.AbstractLayoutPane.Size computeSize(double width,
double height,
boolean flushCache)
AbstractLayoutPanecomputeSize in class AbstractLayoutPane<GridData>width - the available widthheight - the available heightflushCache - flush cached informationsprotected void layoutChildren()
layoutChildren in class javafx.scene.Parentpublic final void setNumColumns(int numColumns)
numColumns - the columnspublic final int getNumColumns()
public final @NonNull javafx.beans.property.IntegerProperty numColumnsProperty()
getNumColumns(),
setNumColumns(int)public final void setMakeColumnsEqualWidth(boolean makeColumnsEqualWidth)
true all columns have the same widthmakeColumnsEqualWidth - make all columns equalpublic final boolean isMakeColumnsEqualWidth()
true all columns have the same widthpublic final @NonNull javafx.beans.property.BooleanProperty makeColumnsEqualWidthProperty()
public final void setHorizontalSpacing(int value)
value - the spacingpublic final int getHorizontalSpacing()
public final @NonNull javafx.beans.property.IntegerProperty horizontalSpacingProperty()
getHorizontalSpacing(),
setHorizontalSpacing(int)public final void setMarginWidth(int value)
value - the marginpublic final int getMarginWidth()
public final @NonNull javafx.beans.property.IntegerProperty marginWidthProperty()
getMarginWidth(),
setMarginWidth(int)public final void setMarginHeight(int value)
value - the marginpublic final int getMarginHeight()
public final @NonNull javafx.beans.property.IntegerProperty marginHeightProperty()
getMarginHeight(),
setMarginHeight(int)public final void setMarginLeft(int value)
value - the left marginpublic final int getMarginLeft()
public final @NonNull javafx.beans.property.IntegerProperty marginLeftProperty()
getMarginLeft(),
setMarginLeft(int)public final void setMarginTop(int value)
value - the new marginpublic final int getMarginTop()
public final @NonNull javafx.beans.property.IntegerProperty marginTopProperty()
getMarginTop(),
setMarginTop(int)public final void setMarginRight(int value)
value - the new marginpublic final int getMarginRight()
public final @NonNull javafx.beans.property.IntegerProperty marginRightProperty()
getMarginRight(),
setMarginRight(int)public final void setMarginBottom(int value)
value - the new marginpublic final int getMarginBottom()
public final @NonNull javafx.beans.property.IntegerProperty marginBottomProperty()
getMarginBottom(),
setMarginBottom(int)public final void setVerticalSpacing(int value)
value - the spacingpublic final int getVerticalSpacing()
public final @NonNull javafx.beans.property.IntegerProperty verticalSpacingProperty()
getVerticalSpacing(),
setVerticalSpacing(int)