Liking cljdoc? Tell your friends :D

play-clj.ui


actor!cljmacro

(actor! entity k & options)

Calls a single method on an actor.

Calls a single method on an actor.
sourceraw docstring

actor-gesture-listener!cljmacro

(actor-gesture-listener! screen k & options)

Calls a single method on the ActorGestureListener in the screen.

Calls a single method on the [ActorGestureListener](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/utils/ActorGestureListener.html)
in the `screen`.
sourceraw docstring

actor?clj

(actor? entity)

Returns true if entity is an actor.

Returns true if `entity` is an actor.
sourceraw docstring

add!clj

(add! group & children)

Adds the entities in children to the group entity of type WidgetGroup.

Adds the entities in `children` to the `group` entity of type [WidgetGroup](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/WidgetGroup.html).
sourceraw docstring

add-to-group!cljmultimethod

source

aligncljmacro

(align k)

Returns a static field from Align.

(align :center)

Returns a static field from [Align](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/utils/Align.html).

(align :center)
sourceraw docstring

cell!clj

(cell! cell & args)

Calls methods on a Cell.

Calls methods on a [Cell](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Cell.html).
sourceraw docstring

change-listener!cljmacro

(change-listener! screen k & options)

Calls a single method on the ChangeListener in the screen.

Calls a single method on the [ChangeListener](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/utils/ChangeListener.html)
in the `screen`.
sourceraw docstring

check-boxcljmacro

(check-box text arg & options)

Returns an entity based on CheckBox.

(check-box "I'm a check box" (style :check-box off on font color)) (check-box "I'm a check box" (style :check-box nil nil (bitmap-font) (color :white))) (check-box "I'm a check box" (skin "uiskin.json"))

Returns an entity based on [CheckBox](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/CheckBox.html).

(check-box "I'm a check box" (style :check-box off on font color))
(check-box "I'm a check box" (style :check-box nil nil (bitmap-font) (color :white)))
(check-box "I'm a check box" (skin "uiskin.json"))
sourceraw docstring

check-box!cljmacro

(check-box! entity k & options)

Calls a single method on a check-box.

Calls a single method on a `check-box`.
sourceraw docstring

check-box*clj

(check-box* text arg)
source

check-box?clj

(check-box? entity)

Returns true if entity is a check-box.

Returns true if `entity` is a `check-box`.
sourceraw docstring

click-listener!cljmacro

(click-listener! screen k & options)

Calls a single method on the ClickListener in the screen.

Calls a single method on the [ClickListener](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/utils/ClickListener.html)
in the `screen`.
sourceraw docstring

containercljmacro

(container child & options)

Returns an entity based on Container.

(container entity)

Returns an entity based on [Container](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Container.html).

(container entity)
sourceraw docstring

container!cljmacro

(container! entity k & options)

Calls a single method on a container.

Calls a single method on a `container`.
sourceraw docstring

container*clj

(container* child)
source

container?clj

(container? entity)

Returns true if entity is a container.

Returns true if `entity` is a `container`.
sourceraw docstring

dialogcljmacro

(dialog text arg & options)

Returns an entity based on Dialog.

(dialog "I'm a dialog" (style :window font font-color background)) (dialog "I'm a dialog" (style :window (bitmap-font) (color :white) nil)) (dialog "I'm a dialog" (skin "uiskin.json"))

Returns an entity based on [Dialog](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Dialog.html).

(dialog "I'm a dialog" (style :window font font-color background))
(dialog "I'm a dialog" (style :window (bitmap-font) (color :white) nil))
(dialog "I'm a dialog" (skin "uiskin.json"))
sourceraw docstring

dialog!cljmacro

(dialog! entity k & options)

Calls a single method on a dialog.

Calls a single method on a `dialog`.
sourceraw docstring

dialog*clj

(dialog* text arg)
source

dialog?clj

(dialog? entity)

Returns true if entity is a dialog.

Returns true if `entity` is a `dialog`.
sourceraw docstring

drag-listener!cljmacro

(drag-listener! screen k & options)

Calls a single method on the DragListener in the screen.

Calls a single method on the [DragListener](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/utils/DragListener.html)
in the `screen`.
sourceraw docstring

drawablecljmacro

(drawable k & options)

Returns a subclass of BaseDrawable.

(drawable :texture-region)

Returns a subclass of [BaseDrawable](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/utils/BaseDrawable.html).

(drawable :texture-region)
sourceraw docstring

focus-listener!cljmacro

(focus-listener! screen k & options)

Calls a single method on the FocusListener in the screen.

Calls a single method on the [FocusListener](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/utils/FocusListener.html)
in the `screen`.
sourceraw docstring

horizontalcljmacro

(horizontal children & options)

Returns an entity based on HorizontalGroup.

(horizontal [entity-1 entity-2])

Returns an entity based on [HorizontalGroup](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/HorizontalGroup.html).

(horizontal [entity-1 entity-2])
sourceraw docstring

horizontal!cljmacro

(horizontal! entity k & options)

Calls a single method on a horizontal.

Calls a single method on a `horizontal`.
sourceraw docstring

horizontal*clj

(horizontal* children)
source

horizontal?clj

(horizontal? entity)

Returns true if entity is a horizontal.

Returns true if `entity` is a `horizontal`.
sourceraw docstring

imagecljmacro

(image arg & options)

Returns an entity based on Image.

(image "image.png")

Returns an entity based on [Image](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Image.html).

(image "image.png")
sourceraw docstring

image!cljmacro

(image! entity k & options)

Calls a single method on a image.

Calls a single method on a `image`.
sourceraw docstring

image*clj

(image* arg)
source

image-buttoncljmacro

(image-button arg & options)

Returns an entity based on ImageButton.

(image-button (style :image-button up dn check img-up img-dn img-check)) (image-button (style :image-button nil nil nil nil nil nil)) (image-button (skin "uiskin.json"))

Returns an entity based on [ImageButton](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/ImageButton.html).

(image-button (style :image-button up dn check img-up img-dn img-check))
(image-button (style :image-button nil nil nil nil nil nil))
(image-button (skin "uiskin.json"))
sourceraw docstring

image-button!cljmacro

(image-button! entity k & options)

Calls a single method on a image-button.

Calls a single method on a `image-button`.
sourceraw docstring

image-button*clj

(image-button* arg)
source

image-button?clj

(image-button? entity)

Returns true if entity is an image-button.

Returns true if `entity` is an `image-button`.
sourceraw docstring

image-text-buttoncljmacro

(image-text-button text arg & options)

Returns an entity based on ImageTextButton.

(image-text-button "I'm an image text button" (style :image-text-button up down checked font)) (image-text-button "I'm an image text button" (style :image-text-button nil nil nil (bitmap-font))) (image-text-button "I'm an image text button" (skin "uiskin.json"))

Returns an entity based on [ImageTextButton](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/ImageTextButton.html).

(image-text-button "I'm an image text button"
                   (style :image-text-button up down checked font))
(image-text-button "I'm an image text button"
                   (style :image-text-button nil nil nil (bitmap-font)))
(image-text-button "I'm an image text button" (skin "uiskin.json"))
sourceraw docstring

image-text-button!cljmacro

(image-text-button! entity k & options)

Calls a single method on a image-text-button.

Calls a single method on a `image-text-button`.
sourceraw docstring

image-text-button*clj

(image-text-button* text arg)
source

image-text-button?clj

(image-text-button? entity)

Returns true if entity is a image-text-button.

Returns true if `entity` is a `image-text-button`.
sourceraw docstring

image?clj

(image? entity)

Returns true if entity is an image.

Returns true if `entity` is an `image`.
sourceraw docstring

labelcljmacro

(label text arg & options)

Returns an entity based on Label.

(label "I'm a label" (color :white)) (label "I'm a label" (style :label (bitmap-font) (color :white))) (label "I'm a label" (skin "uiskin.json"))

Returns an entity based on [Label](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Label.html).

(label "I'm a label" (color :white))
(label "I'm a label" (style :label (bitmap-font) (color :white)))
(label "I'm a label" (skin "uiskin.json"))
sourceraw docstring

label!cljmacro

(label! entity k & options)

Calls a single method on a label.

Calls a single method on a `label`.
sourceraw docstring

label*clj

(label* text arg)
source

label?clj

(label? entity)

Returns true if entity is a label.

Returns true if `entity` is a `label`.
sourceraw docstring

scroll-panecljmacro

(scroll-pane child arg & options)

Returns an entity based on ScrollPane.

(scroll-pane table-entity (style :scroll-pane back h h-knob v v-knob)) (scroll-pane table-entity (style :scroll-pane nil nil nil nil nil)) (scroll-pane table-entity (skin "uiskin.json"))

Returns an entity based on [ScrollPane](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/ScrollPane.html).

(scroll-pane table-entity (style :scroll-pane back h h-knob v v-knob))
(scroll-pane table-entity (style :scroll-pane nil nil nil nil nil))
(scroll-pane table-entity (skin "uiskin.json"))
sourceraw docstring

scroll-pane!cljmacro

(scroll-pane! entity k & options)

Calls a single method on a scroll-pane.

Calls a single method on a `scroll-pane`.
sourceraw docstring

scroll-pane*clj

(scroll-pane* child arg)
source

scroll-pane?clj

(scroll-pane? entity)

Returns true if entity is a scroll-pane.

Returns true if `entity` is a `scroll-pane`.
sourceraw docstring

select-boxcljmacro

(select-box arg & options)

Returns an entity based on SelectBox.

(select-box (style :select-box font color back scroll-style list-style) :set-items (into-array ["Item 1" "Item 2" "Item 3"])) (select-box (style :select-box (bitmap-font) (color :white) nil (style :scroll-pane nil nil nil nil nil) (style :list (bitmap-font) (color :white) (color :black) nil)) :set-items (into-array ["Item 1" "Item 2" "Item 3"])) (select-box (skin "uiskin.json") :set-items (into-array ["Item 1" "Item 2" "Item 3"]))

Returns an entity based on [SelectBox](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/SelectBox.html).

(select-box (style :select-box font color back scroll-style list-style)
            :set-items (into-array ["Item 1" "Item 2" "Item 3"]))
(select-box (style :select-box (bitmap-font) (color :white) nil
                   (style :scroll-pane nil nil nil nil nil)
                   (style :list (bitmap-font) (color :white) (color :black) nil))
            :set-items (into-array ["Item 1" "Item 2" "Item 3"]))
(select-box (skin "uiskin.json")
            :set-items (into-array ["Item 1" "Item 2" "Item 3"]))
sourceraw docstring

select-box!cljmacro

(select-box! entity k & options)

Calls a single method on a select-box.

Calls a single method on a `select-box`.
sourceraw docstring

select-box*clj

(select-box* arg)
source

select-box?clj

(select-box? entity)

Returns true if entity is a select-box.

Returns true if `entity` is a `select-box`.
sourceraw docstring

skincljmacro

(skin path & options)

Returns a Skin based on the file at path.

(skin "uiskin.json")
Returns a [Skin](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Skin.html)
based on the file at `path`.

    (skin "uiskin.json")
sourceraw docstring

skin!cljmacro

(skin! object k & options)

Calls a single method on a skin.

Calls a single method on a `skin`.
sourceraw docstring

skin*clj

(skin* path)
source

slidercljmacro

(slider attrs arg & options)

Returns an entity based on Slider.

(slider {:min 0 :max 10 :step 1 :vertical? false} (style :slider back knob)) (slider {:min 0 :max 10 :step 1 :vertical? false} (style :slider nil nil)) (slider {:min 0 :max 10 :step 1 :vertical? false} (skin "uiskin.json"))

Returns an entity based on [Slider](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Slider.html).

(slider {:min 0 :max 10 :step 1 :vertical? false} (style :slider back knob))
(slider {:min 0 :max 10 :step 1 :vertical? false} (style :slider nil nil))
(slider {:min 0 :max 10 :step 1 :vertical? false} (skin "uiskin.json"))
sourceraw docstring

slider!cljmacro

(slider! entity k & options)

Calls a single method on a slider.

Calls a single method on a `slider`.
sourceraw docstring

slider*clj

(slider* {:keys [min max step vertical?]
          :or {min 0 max 10 step 1 vertical? false}}
         arg)
source

slider?clj

(slider? entity)

Returns true if entity is a slider.

Returns true if `entity` is a `slider`.
sourceraw docstring

stackcljmacro

(stack children & options)

Returns an entity based on Stack.

(stack [entity-1 entity-2])

Returns an entity based on [Stack](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Stack.html).

(stack [entity-1 entity-2])
sourceraw docstring

stack!cljmacro

(stack! entity k & options)

Calls a single method on a stack.

Calls a single method on a `stack`.
sourceraw docstring

stack*clj

(stack* children)
source

stack?clj

(stack? entity)

Returns true if entity is a stack.

Returns true if `entity` is a `stack`.
sourceraw docstring

stylecljmacro

(style k & options)

Returns a style object whose class is determined by the keyword k.

(style :check-box)

Returns a style object whose class is determined by the keyword `k`.

(style :check-box)
sourceraw docstring

tablecljmacro

(table children & options)

Returns an entity based on Table.

(table [entity-1 entity-2])

Returns an entity based on [Table](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Table.html).

(table [entity-1 entity-2])
sourceraw docstring

table!cljmacro

(table! entity k & options)

Calls a single method on a table.

Calls a single method on a `table`.
sourceraw docstring

table*clj

(table* children)
source

table?clj

(table? entity)

Returns true if entity is a table.

Returns true if `entity` is a `table`.
sourceraw docstring

text-buttoncljmacro

(text-button text arg & options)

Returns an entity based on TextButton.

(text-button "I'm a text button" (style :text-button up dn checked font)) (text-button "I'm a text button" (style :text-button nil nil nil (bitmap-font))) (text-button "I'm a text button" (skin "uiskin.json"))

Returns an entity based on [TextButton](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/TextButton.html).

(text-button "I'm a text button" (style :text-button up dn checked font))
(text-button "I'm a text button" (style :text-button nil nil nil (bitmap-font)))
(text-button "I'm a text button" (skin "uiskin.json"))
sourceraw docstring

text-button!cljmacro

(text-button! entity k & options)

Calls a single method on a text-button.

Calls a single method on a `text-button`.
sourceraw docstring

text-button*clj

(text-button* text arg)
source

text-button?clj

(text-button? entity)

Returns true if entity is a text-button.

Returns true if `entity` is a `text-button`.
sourceraw docstring

text-fieldcljmacro

(text-field text arg & options)

Returns an entity based on TextField.

(text-field "I'm a text field" (style :text-field font color cur sel back)) (text-field "I'm a text field" (style :text-field (bitmap-font) (color :white) nil nil nil)) (text-field "I'm a text field" (skin "uiskin.json"))

Returns an entity based on [TextField](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/TextField.html).

(text-field "I'm a text field" (style :text-field font color cur sel back))
(text-field "I'm a text field" (style :text-field (bitmap-font) (color :white) nil nil nil))
(text-field "I'm a text field" (skin "uiskin.json"))
sourceraw docstring

text-field!cljmacro

(text-field! entity k & options)

Calls a single method on a text-field.

Calls a single method on a `text-field`.
sourceraw docstring

text-field*clj

(text-field* text arg)
source

text-field?clj

(text-field? entity)

Returns true if entity is a text-field.

Returns true if `entity` is a `text-field`.
sourceraw docstring

treecljmacro

(tree children arg & options)

Returns an entity based on Tree.

(tree [entity-1 entity-2] (style :tree plus minus selection)) (tree [entity-1 entity-2] (style :tree nil nil nil)) (tree [entity-1 entity-2] (skin "uiskin.json"))

Returns an entity based on [Tree](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Tree.html).

(tree [entity-1 entity-2] (style :tree plus minus selection))
(tree [entity-1 entity-2] (style :tree nil nil nil))
(tree [entity-1 entity-2] (skin "uiskin.json"))
sourceraw docstring

tree!cljmacro

(tree! entity k & options)

Calls a single method on a tree.

Calls a single method on a `tree`.
sourceraw docstring

tree*clj

(tree* children arg)
source

tree?clj

(tree? entity)

Returns true if entity is a tree.

Returns true if `entity` is a `tree`.
sourceraw docstring

verticalcljmacro

(vertical children & options)

Returns an entity based on VerticalGroup.

(vertical [entity-1 entity-2])

Returns an entity based on [VerticalGroup](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/VerticalGroup.html).

(vertical [entity-1 entity-2])
sourceraw docstring

vertical!cljmacro

(vertical! entity k & options)

Calls a single method on a vertical.

Calls a single method on a `vertical`.
sourceraw docstring

vertical*clj

(vertical* children)
source

vertical?clj

(vertical? entity)

Returns true if entity is a vertical.

Returns true if `entity` is a `vertical`.
sourceraw docstring

windowcljmacro

(window children title arg & options)

Returns an entity based on Window.

(window [entity-1 entity-2] "I'm a window" (style :window font color background)) (window [entity-1 entity-2] "I'm a window" (style :window (bitmap-font) (color :white) nil)) (window [entity-1 entity-2] "I'm a window" (skin "uiskin.json"))

Returns an entity based on [Window](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Window.html).

(window [entity-1 entity-2] "I'm a window" (style :window font color background))
(window [entity-1 entity-2] "I'm a window" (style :window (bitmap-font) (color :white) nil))
(window [entity-1 entity-2] "I'm a window" (skin "uiskin.json"))
sourceraw docstring

window!cljmacro

(window! entity k & options)

Calls a single method on a window.

Calls a single method on a `window`.
sourceraw docstring

window*clj

(window* children title arg)
source

window?clj

(window? entity)

Returns true if entity is a window.

Returns true if `entity` is a `window`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close