scalafx.scene.control

ButtonBar

object ButtonBar

Object companion for scalafx.scene.control.ButtonBar.

Source
ButtonBar.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ButtonBar
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed case class ButtonData(delegate: javafx.scene.control.ButtonBar.ButtonData) extends SFXEnumDelegate[javafx.scene.control.ButtonBar.ButtonData] with Product with Serializable

    Wraps a $JFX $URL0 $FC]].

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object ButtonData extends SFXEnumDelegateCompanion[javafx.scene.control.ButtonBar.ButtonData, ButtonData] with Serializable

    Wraps a $JFX $URL0 $FC]].

  7. val ButtonOrderLinux: String

    The default button ordering on Linux (specifically, GNOME).

  8. val ButtonOrderMacOs: String

    The default button ordering on Mac OS.

  9. val ButtonOrderNone: String

    A button ordering string that specifies there is no button ordering.

    A button ordering string that specifies there is no button ordering. In other words, buttons will be placed in the order that exist in the scalafx.scene.control.ButtonBar.buttons list. The only aspect of layout that makes this different than using an HBox is that the buttons are right-aligned.

  10. val ButtonOrderWindows: String

    The default button ordering on Windows.

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def getButtonData(button: Node): ButtonData

    Returns the previously set ButtonData property on the given button.

    Returns the previously set ButtonData property on the given button. If this was never set, this method will return null.

    button

    The button to return the previously set ButtonData for.

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def isButtonUniformSize(button: Node): Boolean

    Returns whether the given node is part of the uniform sizing calculations or not.

    Returns whether the given node is part of the uniform sizing calculations or not. By default all nodes that have not opted out (via N o d e, b o o l e a n) will return true here.

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def setButtonData(button: Node, buttonData: ButtonData): Unit

    Sets the given ButtonData on the given button.

    Sets the given ButtonData on the given button. If this button is subsequently placed in a scalafx.scene.control.ButtonBar it will be placed in the correct position relative to all other buttons in the bar.

    button

    The button to annotate with the given { @link ButtonData} value.

    buttonData

    The ButtonData to designate the button as.

  24. def setButtonUniformSize(button: Node, uniformSize: Boolean): Unit

    By default all buttons are uniformly sized in a ButtonBar, meaning that all buttons take the width of the widest button.

    By default all buttons are uniformly sized in a ButtonBar, meaning that all buttons take the width of the widest button. It is possible to opt-out of this on a per-button basis, but calling the setButtonUniformSize method with a boolean value of false.

    If a button is excluded from uniform sizing, it is both excluded from being resized away from its preferred size, and also excluded from the measuring process, so its size will not influence the maximum size calculated for all buttons in the ButtonBar.

    button

    The button to include / exclude from uniform sizing.

    uniformSize

    Boolean true to force uniform sizing on the button, false to exclude the button from uniform sizing.

  25. implicit def sfxButtonBar2jfx(v: ButtonBar): javafx.scene.control.ButtonBar

    Converts a ScalaFX ButtonBar to its JavaFX counterpart.

    Converts a ScalaFX ButtonBar to its JavaFX counterpart.

    v

    ScalaFX ButtonBar

    returns

    JavaFX ButtonBar

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped