public class PopOver extends PopupControl
| Type | Property and Description |
|---|---|
DoubleProperty |
arrowIndent
Controls the distance between the arrow and the corners of the pop over.
|
ObjectProperty<PopOver.ArrowLocation> |
arrowLocation
Stores the preferred arrow location.
|
DoubleProperty |
arrowSize
Controls the size of the arrow.
|
ObjectProperty<Node> |
contentNode
Returns the content shown by the pop over.
|
DoubleProperty |
cornerRadius
Returns the corner radius property for the pop over.
|
BooleanProperty |
detachable
Determines if the pop over is detachable at all.
|
BooleanProperty |
detached
Determines whether the pop over is detached from the owning node or not.
|
StringProperty |
detachedTitle
Stores the title to display when the pop over becomes detached.
|
idProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, prefHeightProperty, prefWidthProperty, skinProperty, stylePropertyanchorLocationProperty, anchorXProperty, anchorYProperty, autoFixProperty, autoHideProperty, consumeAutoHidingEventsProperty, hideOnEscapeProperty, onAutoHideProperty, ownerNodeProperty, ownerWindowPropertyeventDispatcherProperty, focusedProperty, heightProperty, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, sceneProperty, showingProperty, widthProperty, xProperty, yProperty| Modifier and Type | Class and Description |
|---|---|
static class |
PopOver.ArrowLocation
All possible arrow locations.
|
PopupControl.CSSBridgePopupWindow.AnchorLocationbridge, USE_COMPUTED_SIZE, USE_PREF_SIZEimpl_peer, peerListener| Constructor and Description |
|---|
PopOver()
Creates a pop over with a label as the content node.
|
PopOver(Node content)
Creates a pop over with the given node as the content node.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleProperty |
arrowIndentProperty()
Controls the distance between the arrow and the corners of the pop over.
|
ObjectProperty<PopOver.ArrowLocation> |
arrowLocationProperty()
Stores the preferred arrow location.
|
DoubleProperty |
arrowSizeProperty()
Controls the size of the arrow.
|
ObjectProperty<Node> |
contentNodeProperty()
Returns the content shown by the pop over.
|
DoubleProperty |
cornerRadiusProperty()
Returns the corner radius property for the pop over.
|
protected Skin<?> |
createDefaultSkin() |
void |
detach()
Detaches the pop over from the owning node.
|
BooleanProperty |
detachableProperty()
Determines if the pop over is detachable at all.
|
BooleanProperty |
detachedProperty()
Determines whether the pop over is detached from the owning node or not.
|
StringProperty |
detachedTitleProperty()
Stores the title to display when the pop over becomes detached.
|
double |
getArrowIndent()
Returns the value of the arrow indent property.
|
PopOver.ArrowLocation |
getArrowLocation()
Returns the value of the arrow location property.
|
double |
getArrowSize()
Returns the value of the arrow size property.
|
Node |
getContentNode()
Returns the value of the content property
|
double |
getCornerRadius()
Returns the value of the corner radius property.
|
String |
getDetachedTitle()
Returns the value of the detached title property.
|
boolean |
isDetachable()
Returns the value of the detachable property.
|
boolean |
isDetached()
Returns the value of the detached property.
|
void |
setArrowIndent(double size)
Sets the value of the arrow indent property.
|
void |
setArrowLocation(PopOver.ArrowLocation location)
Sets the value of the arrow location property.
|
void |
setArrowSize(double size)
Sets the value of the arrow size property.
|
void |
setContentNode(Node content)
Sets the value of the content property.
|
void |
setCornerRadius(double radius)
Sets the value of the corner radius property.
|
void |
setDetachable(boolean detachable)
Sets the value of the detachable property.
|
void |
setDetached(boolean detached)
Sets the value of the detached property.
|
void |
setDetachedTitle(String title)
Sets the value of the detached title property.
|
void |
show(Node owner,
double x,
double y)
Makes the pop over visible at the give location and associates it with
the given owner node.
|
void |
show(Node owner,
double x,
double y,
Duration fadeInDuration)
Makes the pop over visible at the give location and associates it with
the given owner node.
|
getClassCssMetaData, getCssMetaData, getId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getPseudoClassStates, getSkin, getStyle, getStyleableParent, getStyleClass, getTypeSelector, idProperty, impl_styleableGetNode, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, pseudoClassStateChanged, setId, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPrefHeight, setPrefSize, setPrefWidth, setSkin, setStyle, skinProperty, stylePropertyanchorLocationProperty, anchorXProperty, anchorYProperty, autoFixProperty, autoHideProperty, consumeAutoHidingEventsProperty, getAnchorLocation, getAnchorX, getAnchorY, getConsumeAutoHidingEvents, getContent, getOnAutoHide, getOwnerNode, getOwnerWindow, hide, hideOnEscapeProperty, impl_visibleChanged, impl_visibleChanging, isAutoFix, isAutoHide, isHideOnEscape, onAutoHideProperty, ownerNodeProperty, ownerWindowProperty, setAnchorLocation, setAnchorX, setAnchorY, setAutoFix, setAutoHide, setConsumeAutoHidingEvents, setHideOnEscape, setOnAutoHide, setScene, show, showaddEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getScene, getWidth, getX, getY, heightProperty, impl_getMXWindowType, impl_getPeer, impl_getWindows, isFocused, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, removeEventFilter, removeEventHandler, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setFocused, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setWidth, setX, setY, show, showingProperty, sizeToScene, widthProperty, xProperty, yPropertypublic final ObjectProperty<Node> contentNodeProperty
getContentNode(),
setContentNode(Node)public final BooleanProperty detachableProperty
isDetachable(),
setDetachable(boolean)public final BooleanProperty detachedProperty
isDetached(),
setDetached(boolean)public final DoubleProperty arrowSizeProperty
getArrowSize(),
setArrowSize(double)public final DoubleProperty arrowIndentProperty
getArrowIndent(),
setArrowIndent(double)public final DoubleProperty cornerRadiusProperty
getCornerRadius(),
setCornerRadius(double)public final StringProperty detachedTitleProperty
getDetachedTitle(),
setDetachedTitle(String)public final ObjectProperty<PopOver.ArrowLocation> arrowLocationProperty
public PopOver()
public PopOver(Node content)
the - content shown by the pop overprotected Skin<?> createDefaultSkin()
createDefaultSkin in class PopupControlpublic final ObjectProperty<Node> contentNodeProperty()
getContentNode(),
setContentNode(Node)public final Node getContentNode()
#contentProperty()public final void setContentNode(Node content)
content - the new content node value#contentProperty()public final void show(Node owner, double x, double y)
show in class PopupWindowowner - the owning nodex - the x coordinate for the pop over arrow tipy - the y coordinate for the pop over arrow tippublic final void show(Node owner, double x, double y, Duration fadeInDuration)
owner - the owning nodex - the x coordinate for the pop over arrow tipy - the y coordinate for the pop over arrow tipfadeInDuration - the time it takes for the pop over to be fully visiblepublic final void detach()
public final BooleanProperty detachableProperty()
isDetachable(),
setDetachable(boolean)public final void setDetachable(boolean detachable)
detachable - if true then the user can detach / tear off the pop overdetachableProperty()public final boolean isDetachable()
detachableProperty()public final BooleanProperty detachedProperty()
isDetached(),
setDetached(boolean)public final void setDetached(boolean detached)
detached - if true the pop over will change its apperance to "detached"
modedetachedProperty();public final boolean isDetached()
detachedProperty();public final DoubleProperty arrowSizeProperty()
getArrowSize(),
setArrowSize(double)public final double getArrowSize()
arrowSizeProperty()public final void setArrowSize(double size)
size - the new value of the arrow size propertyarrowSizeProperty()public final DoubleProperty arrowIndentProperty()
getArrowIndent(),
setArrowIndent(double)public final double getArrowIndent()
arrowIndentProperty()public final void setArrowIndent(double size)
size - the arrow indent valuearrowIndentProperty()public final DoubleProperty cornerRadiusProperty()
getCornerRadius(),
setCornerRadius(double)public final double getCornerRadius()
cornerRadiusProperty()public final void setCornerRadius(double radius)
radius - the corner radiuscornerRadiusProperty()public final StringProperty detachedTitleProperty()
getDetachedTitle(),
setDetachedTitle(String)public final String getDetachedTitle()
detachedTitleProperty()public final void setDetachedTitle(String title)
title - the title to use when detacheddetachedTitleProperty()public final ObjectProperty<PopOver.ArrowLocation> arrowLocationProperty()
public final void setArrowLocation(PopOver.ArrowLocation location)
location - the requested locationarrowLocationProperty()public final PopOver.ArrowLocation getArrowLocation()
arrowLocationProperty()