Class JThumbnailStyle
java.lang.Object
org.jorigin.jfx.thumbnail.JThumbnailStyle
A set of parameters that enable to control
JThumbnailPane and JThumbnail display and layout.- Author:
- Julien SEINTURIER - Université de Toulon / CNRS LIS umr 7020 - github.com/jorigin/jcommon (contact@jorigin.org)
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail global background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get a focused thumbnail global background property.javafx.beans.property.DoublePropertyGet the thumbnail height property.javafx.beans.property.DoublePropertyGet the thumbnail horizontal gap property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail image background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail name background property.javafx.beans.property.BooleanPropertyGet the name visibility property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail pane background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get a selected thumbnail global background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the selected thumbnail image background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail name background property when it is selected.javafx.beans.property.DoublePropertyGet the thumbnail vertical gap property.javafx.beans.property.DoublePropertyGet the thumbnail width property. -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new set of parameters that enable to controlJThumbnailPaneandJThumbnaildisplay and layout. -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.BackgroundGet the thumbnail global background.javafx.scene.layout.BackgroundGet a focused thumbnail global background.doubleGet the desired height for theJThumbnailinstances.doubleGet the horizontal spacing betweenthumbnails.javafx.scene.layout.BackgroundGet the thumbnail image background.javafx.scene.layout.BackgroundGet the thumbnail name background.javafx.scene.layout.BackgroundGet the thumbnail pane background.javafx.scene.layout.BackgroundGet a selected thumbnail global background.javafx.scene.layout.BackgroundGet the selected thumbnail image background.javafx.scene.layout.BackgroundGet the thumbnail name background when it is selected.doubleGet the vertical spacing betweenthumbnails.doubleGet the desired width for theJThumbnailinstances.booleanGet ifJThumbnailhas to display its name.voidsetThumbnailBackground(javafx.scene.layout.Background background) Set the thumbnail global background.voidsetThumbnailFocusedBackground(javafx.scene.layout.Background background) Set a focused thumbnail global background.voidsetThumbnailHeight(double value) Set the desired height for theJThumbnailinstances.voidsetThumbnailHGap(double value) Set the desired horizontal spacing betweenthumbnails.voidsetThumbnailImageBackground(javafx.scene.layout.Background background) Set the thumbnail image background.voidsetThumbnailNameBackground(javafx.scene.layout.Background background) Set the thumbnail name background.voidsetThumbnailNameVisible(boolean show) Set if aJThumbnailhas to display its name.voidsetThumbnailPaneBackground(javafx.scene.layout.Background background) Set the thumbnail pane background.voidsetThumbnailSelectedBackground(javafx.scene.layout.Background background) Set a selected thumbnail global background.voidsetThumbnailSelectedImageBackground(javafx.scene.layout.Background background) Set the selected thumbnail image background.voidsetThumbnailSelectedNameBackground(javafx.scene.layout.Background background) Set the thumbnail name background when it is selected.voidsetThumbnailVGap(double value) Set the desired vertical spacing betweenthumbnails.voidsetThumbnailWidth(double value) Set the desired width for theJThumbnailinstances.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail global background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get a focused thumbnail global background property.javafx.beans.property.DoublePropertyGet the thumbnail height property.javafx.beans.property.DoublePropertyGet the thumbnail horizontal gap property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail image background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail name background property.javafx.beans.property.BooleanPropertyGet the name visibility property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail pane background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get a selected thumbnail global background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the selected thumbnail image background property.javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> Get the thumbnail name background property when it is selected.javafx.beans.property.DoublePropertyGet the thumbnail vertical gap property.javafx.beans.property.DoublePropertyGet the thumbnail width property.
-
Property Details
-
thumbnailWidth
public javafx.beans.property.DoubleProperty thumbnailWidthPropertyGet the thumbnail width property. This property describe the desired width of aJThumbnail.- See Also:
-
thumbnailHeight
public javafx.beans.property.DoubleProperty thumbnailHeightPropertyGet the thumbnail height property. This property describe the desired height of aJThumbnail.- See Also:
-
thumbnailImageBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailImageBackgroundPropertyGet the thumbnail image background property.- See Also:
-
thumbnailNameBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailNameBackgroundPropertyGet the thumbnail name background property.- See Also:
-
thumbnailBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailBackgroundPropertyGet the thumbnail global background property.- See Also:
-
thumbnailFocusedBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailFocusedBackgroundPropertyGet a focused thumbnail global background property.- See Also:
-
thumbnailSelectedImageBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailSelectedImageBackgroundPropertyGet the selected thumbnail image background property.- See Also:
-
thumbnailSelectedBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailSelectedBackgroundPropertyGet a selected thumbnail global background property.- See Also:
-
thumbnailHGap
public javafx.beans.property.DoubleProperty thumbnailHGapPropertyGet the thumbnail horizontal gap property. This property describe the desired horizontal spacing betweenthumbnails.- See Also:
-
thumbnailVGap
public javafx.beans.property.DoubleProperty thumbnailVGapPropertyGet the thumbnail vertical gap property. This property describe the desired vertical spacing betweenthumbnails.- See Also:
-
thumbnailPaneBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailPaneBackgroundPropertyGet the thumbnail pane background property.- See Also:
-
thumbnailNameVisibility
public javafx.beans.property.BooleanProperty thumbnailNameVisibilityPropertyGet the name visibility property. This property that set ifJThumbnailname has to be visible.- See Also:
-
thumbnailSelectedNameBackground
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailSelectedNameBackgroundPropertyGet the thumbnail name background property when it is selected.- See Also:
-
-
Constructor Details
-
JThumbnailStyle
public JThumbnailStyle()Create a new set of parameters that enable to controlJThumbnailPaneandJThumbnaildisplay and layout.
-
-
Method Details
-
thumbnailWidthProperty
public javafx.beans.property.DoubleProperty thumbnailWidthProperty()Get the thumbnail width property. This property describe the desired width of aJThumbnail.- Returns:
- the thumbnail width property
- See Also:
-
getThumbnailWidth
public double getThumbnailWidth()Get the desired width for theJThumbnailinstances.- Returns:
- the desired width for the
JThumbnailinstances - See Also:
-
setThumbnailWidth
public void setThumbnailWidth(double value) Set the desired width for theJThumbnailinstances.- Parameters:
value- the desired width for theJThumbnailinstances- See Also:
-
thumbnailHeightProperty
public javafx.beans.property.DoubleProperty thumbnailHeightProperty()Get the thumbnail height property. This property describe the desired height of aJThumbnail.- Returns:
- the thumbnail height property
- See Also:
-
getThumbnailHeight
public double getThumbnailHeight()Get the desired height for theJThumbnailinstances.- Returns:
- the desired height for the
JThumbnailinstances - See Also:
-
setThumbnailHeight
public void setThumbnailHeight(double value) Set the desired height for theJThumbnailinstances.- Parameters:
value- the desired height for theJThumbnailinstances- See Also:
-
thumbnailImageBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailImageBackgroundProperty()Get the thumbnail image background property.- Returns:
- the thumbnail image background property
- See Also:
-
getThumbnailImageBackground
public javafx.scene.layout.Background getThumbnailImageBackground()Get the thumbnail image background.- Returns:
- the thumbnail image background
- See Also:
-
setThumbnailImageBackground
public void setThumbnailImageBackground(javafx.scene.layout.Background background) Set the thumbnail image background.- Parameters:
background- the thumbnail image background- See Also:
-
thumbnailNameBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailNameBackgroundProperty()Get the thumbnail name background property.- Returns:
- the thumbnail name background property
- See Also:
-
getThumbnailNameBackground
public javafx.scene.layout.Background getThumbnailNameBackground()Get the thumbnail name background.- Returns:
- the thumbnail name background
- See Also:
-
setThumbnailNameBackground
public void setThumbnailNameBackground(javafx.scene.layout.Background background) Set the thumbnail name background.- Parameters:
background- the thumbnail name background- See Also:
-
thumbnailBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailBackgroundProperty()Get the thumbnail global background property.- Returns:
- the thumbnail global background property
- See Also:
-
getThumbnailBackground
public javafx.scene.layout.Background getThumbnailBackground()Get the thumbnail global background.- Returns:
- the thumbnail global background
- See Also:
-
setThumbnailBackground
public void setThumbnailBackground(javafx.scene.layout.Background background) Set the thumbnail global background.- Parameters:
background- the thumbnail global background- See Also:
-
thumbnailFocusedBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailFocusedBackgroundProperty()Get a focused thumbnail global background property.- Returns:
- the focused thumbnail global background property
- See Also:
-
getThumbnailFocusedBackground
public javafx.scene.layout.Background getThumbnailFocusedBackground()Get a focused thumbnail global background.- Returns:
- the focused thumbnail global background
- See Also:
-
setThumbnailFocusedBackground
public void setThumbnailFocusedBackground(javafx.scene.layout.Background background) Set a focused thumbnail global background.- Parameters:
background- the focused thumbnail global background- See Also:
-
thumbnailSelectedImageBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailSelectedImageBackgroundProperty()Get the selected thumbnail image background property.- Returns:
- the selected thumbnail image background property
- See Also:
-
getThumbnailSelectedImageBackground
public javafx.scene.layout.Background getThumbnailSelectedImageBackground()Get the selected thumbnail image background.- Returns:
- the selected thumbnail image background
- See Also:
-
setThumbnailSelectedImageBackground
public void setThumbnailSelectedImageBackground(javafx.scene.layout.Background background) Set the selected thumbnail image background.- Parameters:
background- the selected thumbnail image background- See Also:
-
thumbnailSelectedBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailSelectedBackgroundProperty()Get a selected thumbnail global background property.- Returns:
- the selected thumbnail global background property
- See Also:
-
getThumbnailSelectedBackground
public javafx.scene.layout.Background getThumbnailSelectedBackground()Get a selected thumbnail global background.- Returns:
- the selected thumbnail global background
- See Also:
-
setThumbnailSelectedBackground
public void setThumbnailSelectedBackground(javafx.scene.layout.Background background) Set a selected thumbnail global background.- Parameters:
background- the selected thumbnail global background- See Also:
-
thumbnailHGapProperty
public javafx.beans.property.DoubleProperty thumbnailHGapProperty()Get the thumbnail horizontal gap property. This property describe the desired horizontal spacing betweenthumbnails.- Returns:
- the thumbnail horizontal gap property
- See Also:
-
getThumbnailHGap
public double getThumbnailHGap()Get the horizontal spacing betweenthumbnails.- Returns:
- the horizontal spacing between
thumbnails. - See Also:
-
setThumbnailHGap
public void setThumbnailHGap(double value) Set the desired horizontal spacing betweenthumbnails.- Parameters:
value- the desired horizontal spacing betweenthumbnails.- See Also:
-
thumbnailVGapProperty
public javafx.beans.property.DoubleProperty thumbnailVGapProperty()Get the thumbnail vertical gap property. This property describe the desired vertical spacing betweenthumbnails.- Returns:
- the thumbnail vertical gap property
- See Also:
-
getThumbnailVGap
public double getThumbnailVGap()Get the vertical spacing betweenthumbnails.- Returns:
- the vertical spacing between
thumbnails. - See Also:
-
setThumbnailVGap
public void setThumbnailVGap(double value) Set the desired vertical spacing betweenthumbnails.- Parameters:
value- the desired vertical spacing betweenthumbnails.- See Also:
-
thumbnailPaneBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailPaneBackgroundProperty()Get the thumbnail pane background property.- Returns:
- the thumbnail pane background property
- See Also:
-
getThumbnailPaneBackground
public javafx.scene.layout.Background getThumbnailPaneBackground()Get the thumbnail pane background.- Returns:
- the thumbnail pane background
- See Also:
-
setThumbnailPaneBackground
public void setThumbnailPaneBackground(javafx.scene.layout.Background background) Set the thumbnail pane background.- Parameters:
background- the thumbnail pane background- See Also:
-
thumbnailNameVisibilityProperty
public javafx.beans.property.BooleanProperty thumbnailNameVisibilityProperty()Get the name visibility property. This property that set ifJThumbnailname has to be visible.- Returns:
- the show name property
-
isThumbnailNameVisible
public boolean isThumbnailNameVisible()Get ifJThumbnailhas to display its name.- Returns:
trueif aJThumbnailhas to display its name andfalseotherwise- See Also:
-
setThumbnailNameVisible
public void setThumbnailNameVisible(boolean show) Set if aJThumbnailhas to display its name.- Parameters:
show-trueif aJThumbnailhas to display its name andfalseotherwise- See Also:
-
thumbnailSelectedNameBackgroundProperty
public javafx.beans.property.ObjectProperty<javafx.scene.layout.Background> thumbnailSelectedNameBackgroundProperty()Get the thumbnail name background property when it is selected.- Returns:
- the thumbnail name background property when it is selected
- See Also:
-
getThumbnailSelectedNameBackground
public javafx.scene.layout.Background getThumbnailSelectedNameBackground()Get the thumbnail name background when it is selected.- Returns:
- the thumbnail name background when it is selected
- See Also:
-
setThumbnailSelectedNameBackground
public void setThumbnailSelectedNameBackground(javafx.scene.layout.Background background) Set the thumbnail name background when it is selected.- Parameters:
background- the thumbnail name background when it is selected- See Also:
-