Package-level declarations

Types

Link copied to clipboard
class AtlasView(val graphicResource: Graphic) : Region

Displays a Graphic with shaded regions for each Pose in the atlas, as well as a draggable selection rectangle to help create a new Pose.

Link copied to clipboard
class Breadcrumbs : Region
Link copied to clipboard
open class DecoratedNode<T : Node>(val inner: T) : Node
Link copied to clipboard
object EditActCommands : Commands
Link copied to clipboard
class EditActView(game: Game, act: Act) : ActView

An ActView with can draw additional items above the stages, such as bounding boxes, axes etc.

Link copied to clipboard
class EditStageView(stage: Stage) : StageView
Link copied to clipboard
class HintsLabel : Node

A label-like control, which uses bold text wherever substrings of the hints text are surrounded by square brackets.

Link copied to clipboard
open class ImageViewWithCrosshairs(image: Image?) : Region
Link copied to clipboard
class MarginsFields(margins: Margins) : WrappedNode<BorderPane>
Link copied to clipboard
class NinePatchView(image: Image?) : ImageViewWithCrosshairs
Link copied to clipboard
object PathCompletionCommands : Commands
Link copied to clipboard
class PathField(val relativeToResource: Resource, val expectedResourceTypes: ResourceType) : Region

Contains a TextField to enter a relative or absolute path to another resource. Below that is a Label which acts as an error message when the path is not valid, or is the wrong type.

Link copied to clipboard
class PickGroupView(val game: Game, val pickGroup: PickGroup, val selectedPickProperty: Property<Pick?>, val iconSizeProperty: ObservableInt) : DecoratedNode<VBox>

A view of a PickGroup, with PickGroup.name at the top and a collection of PickViews below it.

Link copied to clipboard
class PickImageView(val game: Game, val pick: Pick) : Node
Link copied to clipboard
class PickView(val game: Game, val pickGroup: PickGroup, val pick: Pick, val selectedPickProperty: Property<Pick?>) : DecoratedNode<PropertyToggleButton<Pick?, Property<Pick?>>>

Displays a Pick as a button with a scaled down image if there is a graphic, otherwise uses the Pick's name.

Link copied to clipboard
class PositionBox : Node
Link copied to clipboard
class TypeChoice(val qualifiedNames: Collection<String>) : WrappedNode<MenuButton>
Link copied to clipboard
class Vector2Spinners(initialValue: Vector2) : WrappedNode<ThreeRow>
Link copied to clipboard
class VisibleMenuItem(text: String) : MenuItemBase

A specialised MenuItem, which has text (as usual), but also has a toggle button with an "eye" icon, either closed or open depending on selected.

Functions

Link copied to clipboard
fun appearancePathField(relativeToResource: Resource, block: PathField.() -> Unit? = null): PathField
Link copied to clipboard
fun atlasView(graphicResource: Graphic, block: AtlasView.() -> Unit? = null): AtlasView

DSL helper function to create an AtlasView

Link copied to clipboard
fun imageViewWithCrosshairs(imageProperty: ObservableOptionalImage, block: ImageViewWithCrosshairs.() -> Unit? = null): ImageViewWithCrosshairs
Link copied to clipboard
fun marginsFields(margins: Margins, block: MarginsFields.() -> Unit? = null): MarginsFields
Link copied to clipboard
fun pathField(relativeToResource: Resource, vararg expectedResourceTypes: ResourceType, block: PathField.() -> Unit? = null): PathField
Link copied to clipboard
fun typeChoice(qualifiedNames: Collection<String>, block: TypeChoice.() -> Unit? = null): TypeChoice