Class TreeFileChooser.Style

java.lang.Object
net.dermetfan.gdx.scenes.scene2d.ui.TreeFileChooser.Style
All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable
Enclosing class:
TreeFileChooser

public static class TreeFileChooser.Style
extends java.lang.Object
implements com.badlogic.gdx.utils.Json.Serializable
defines styles for the widgets of a TreeFileChooser
  • Field Summary

    Fields
    Modifier and Type Field Description
    com.badlogic.gdx.scenes.scene2d.utils.Drawable background
    optional
    com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle cancelButtonStyle
    the button styles
    com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle labelStyle
    the style for the labels in the tree
    com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle scrollPaneStyle
    the style for TreeFileChooser.treePane
    com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle selectButtonStyle
    the button styles
    com.badlogic.gdx.scenes.scene2d.ui.Tree.TreeStyle treeStyle
    the style for the tree
  • Constructor Summary

    Constructors
    Constructor Description
    Style()  
  • Method Summary

    Modifier and Type Method Description
    void read​(com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData)  
    void write​(com.badlogic.gdx.utils.Json json)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • treeStyle

      public com.badlogic.gdx.scenes.scene2d.ui.Tree.TreeStyle treeStyle
      the style for the tree
    • scrollPaneStyle

      public com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle scrollPaneStyle
      the style for TreeFileChooser.treePane
    • labelStyle

      public com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle labelStyle
      the style for the labels in the tree
    • selectButtonStyle

      public com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle selectButtonStyle
      the button styles
    • cancelButtonStyle

      public com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle cancelButtonStyle
      the button styles
    • background

      public com.badlogic.gdx.scenes.scene2d.utils.Drawable background
      optional
  • Constructor Details

    • Style

      public Style()
  • Method Details

    • write

      public void write​(com.badlogic.gdx.utils.Json json)
      Specified by:
      write in interface com.badlogic.gdx.utils.Json.Serializable
    • read

      public void read​(com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData)
      Specified by:
      read in interface com.badlogic.gdx.utils.Json.Serializable