Package mindustry.logic
Class LCanvas
java.lang.Object
arc.scene.Element
arc.scene.Group
arc.scene.ui.layout.WidgetGroup
arc.scene.ui.layout.Table
mindustry.logic.LCanvas
- All Implemented Interfaces:
arc.scene.utils.Cullable
public class LCanvas
extends arc.scene.ui.layout.Table
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic classstatic classclassNested classes/interfaces inherited from class arc.scene.ui.layout.Table
arc.scene.ui.layout.Table.DrawRect -
Field Summary
FieldsFields inherited from class arc.scene.ui.layout.Table
cellDefaults, cells, clip, columnMinWidth, columnPrefWidth, columns, columnWidth, expandHeight, expandWidth, implicitEndRow, rowDefaults, rowHeight, rowMinHeight, rowPrefHeight, rows, sizeInvalid, tableMinHeight, tableMinWidth, tablePrefHeight, tablePrefWidthFields inherited from class arc.scene.Group
children, cullingArea, transformFields inherited from class arc.scene.Element
color, cullable, fillParent, height, name, originX, originY, parent, parentAlpha, rotation, scaleX, scaleY, touchable, touchablility, translation, userObject, visibility, visible, width, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidact(float delta) voidadd(LStatement statement) voidaddAt(int at, LStatement statement) voidstatic floatstatic booleanvoidvoidrebuild()save()static voidstatic voidMethods inherited from class arc.scene.ui.layout.Table
add, add, add, add, add, add, add, add, add, align, area, area, background, bottom, button, button, button, button, button, button, button, button, button, button, button, button, buttonCenter, buttonCenter, buttonCenter, buttonRow, center, check, check, check, clearChildren, collapser, collapser, collapser, collapser, computeSize, defaults, draw, drawBackground, field, field, field, fill, getAlign, getBackground, getCell, getCells, getClip, getColumns, getColumnWidth, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getRow, getRowHeight, getRows, hit, image, image, image, image, image, imageDraw, invalidate, label, labelWrap, labelWrap, layout, layout, left, margin, margin, marginBottom, marginLeft, marginRight, marginTop, obtainCell, pane, pane, pane, pane, rect, removeChild, removeChild, reset, right, row, setBackground, setClip, setRound, slider, slider, slider, spacer, spacerX, spacerY, stack, table, table, table, table, table, top, wrapTableMethods inherited from class arc.scene.ui.layout.WidgetGroup
childrenChanged, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validateMethods inherited from class arc.scene.Group
addChild, addChildAfter, addChildAt, addChildBefore, applyTransform, clear, computeTransform, drawChildren, fill, fill, fill, find, find, findVisible, forEach, getChildren, getCullingArea, hasChildren, isTransform, localToDescendantCoordinates, resetTransform, setCullingArea, setScene, setTransform, swapActor, swapActor, toStringMethods inherited from class arc.scene.Element
actions, addAction, addCaptureListener, addListener, change, changed, clearActions, clearListeners, clicked, clicked, clicked, clicked, clipBegin, clipBegin, clipEnd, dragged, exited, fire, fireClick, getActions, getCaptureListeners, getHeight, getListeners, getMaxHeight, getMaxWidth, getRight, getRotation, getScene, getTop, getWidth, getX, getY, getZIndex, hasActions, hasKeyboard, hasMouse, hasParent, hasScroll, hovered, isAscendantOf, isDescendantOf, isDescendantOf, isTouchable, keepInStage, keyDown, keyDown, localToAscendantCoordinates, localToParentCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, released, remove, removeAction, removeCaptureListener, removeListener, requestKeyboard, requestScroll, rotateBy, rotationChanged, scaleBy, scaleBy, screenToLocalCoordinates, scrolled, setBounds, setColor, setColor, setHeight, setOrigin, setOrigin, setPosition, setPosition, setRotation, setRotationOrigin, setScale, setScale, setSize, setSize, setTranslation, setWidth, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, tapped, toBack, toFront, touchable, update, updateVisibility, visible
-
Field Details
-
statements
-
pane
public arc.scene.ui.ScrollPane pane
-
-
Constructor Details
-
LCanvas
public LCanvas()
-
-
Method Details
-
isCompact
public static boolean isCompact()- Returns:
- if statement elements should have rows.
-
getTargetWidth
public static float getTargetWidth() -
tooltip
-
tooltip
-
rebuild
public void rebuild() -
add
-
addAt
-
save
-
load
-
clearStatements
public void clearStatements() -
act
public void act(float delta) - Overrides:
actin classarc.scene.Group
-