DervaFX Wiki

DervaWindow

Window

Back to Components

DervaWindow is part of the current public DervaFX API surface and is generated directly from the public Java source.

Current Methods

  • text(String value) : DervaWindow
  • draggable(boolean value) : DervaWindow
  • resizable(boolean value) : DervaWindow
  • resizable(boolean horizontal, boolean vertical) : DervaWindow
  • resizableHorizontal(boolean value) : DervaWindow
  • resizableVertical(boolean value) : DervaWindow
  • add(DervaElement<?> child) : DervaWindow
  • remove(DervaElement<?> child) : DervaWindow
  • clear() : DervaWindow
  • toFront() : DervaWindow
  • padding(Insets padding) : DervaWindow
  • spacing(double value) : DervaWindow
  • align(Pos alignment) : DervaWindow
  • fillWidth() : DervaWindow
  • size(double width, double height) : DervaWindow
  • minSize(double width, double height) : DervaWindow
  • maxSize(double width, double height) : DervaWindow

Inherited DervaElement Helpers

  • position(double x, double y)
  • size(double width, double height)
  • minSize(double width, double height)
  • maxSize(double width, double height)
  • padding(Insets insets)
  • padding(double value)
  • spacing(double value)
  • align(Pos pos)
  • fillWidth()
  • fillHeight()
  • text(String value)
  • visible(boolean value)
  • enabled(boolean value)
  • cssClass(String className)
  • style(String inlineStyle)
  • anchorFill()

Notes

  • DervaWindow moves its wrapper root rather than the internal VBox.
  • This is one of the main public pieces that gives the library its Derma-inspired feel.