Package mindustry.editor
Class MapObjectivesDialog
java.lang.Object
arc.scene.Element
arc.scene.Group
arc.scene.ui.layout.WidgetGroup
arc.scene.ui.layout.Table
arc.scene.ui.Dialog
mindustry.ui.dialogs.BaseDialog
mindustry.editor.MapObjectivesDialog
- All Implemented Interfaces:
arc.scene.utils.Cullable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic classStores parameterized or array type information for convenience.Nested classes/interfaces inherited from class arc.scene.ui.Dialog
arc.scene.ui.Dialog.DialogStyleNested classes/interfaces inherited from class arc.scene.ui.layout.Table
arc.scene.ui.layout.Table.DrawRect -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected arc.func.Cons<arc.struct.Seq<MapObjectives.MapObjective>>Fields inherited from class mindustry.ui.dialogs.BaseDialog
shouldPause, wasPausedFields inherited from class arc.scene.ui.Dialog
buttons, cont, dragging, edge, ignoreTouchDown, title, titleTableFields 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 TypeMethodDescriptionstatic <T> MapObjectivesDialog.FieldInterpreter<T>static <T> MapObjectivesDialog.FieldInterpreter<T>getInterpreter(Class<? extends Annotation> anno, Class<T> type) static <T> MapObjectivesDialog.FieldInterpreter<T>getInterpreter(Class<T> type) static <T> MapObjectivesDialog.FieldProvider<T>getProvider(Class<T> type) static booleanhasInterpreter(Class<?> type) static booleanhasInterpreter(Class<? extends Annotation> anno, Class<?> type) static booleanhasProvider(Class<?> type) static voidname(arc.scene.ui.layout.Table cont, CharSequence name, Runnable remover, arc.func.Boolc indexer) voidrebuildObjectives(arc.struct.Seq<MapObjectives.MapObjective> objectives) static <T> voidsetInterpreter(Class<? extends Annotation> anno, Class<T> type, MapObjectivesDialog.FieldInterpreter<? super T> interpreter) static <T> voidsetInterpreter(Class<T> type, MapObjectivesDialog.FieldInterpreter<? super T> interpreter) static <T> voidsetProvider(Class<T> type, MapObjectivesDialog.FieldProvider<T> provider) voidshow(arc.struct.Seq<MapObjectives.MapObjective> objectives, arc.func.Cons<arc.struct.Seq<MapObjectives.MapObjective>> out) static <T extends UnlockableContent>
voidshowContentSelect(ContentType type, arc.func.Cons<T> cons, arc.func.Boolf<T> check) static voidshowTeamSelect(boolean allowNull, arc.func.Cons<Team> cons) static voidshowTeamSelect(arc.func.Cons<Team> cons) static Class<?>Methods inherited from class mindustry.ui.dialogs.BaseDialog
addCloseButton, addCloseButton, addCloseListener, makeButtonOverlay, onResizeMethods inherited from class arc.scene.ui.Dialog
act, centerWindow, closeOnBack, closeOnBack, draw, drawStageBackground, getStyle, hidden, hide, hide, hit, isCentered, isDragging, isModal, isMovable, isResizable, isShown, resized, resized, resizedShown, setCentered, setHideAction, setKeepWithinStage, setModal, setMovable, setResizable, setResizeBorder, setScene, setShowAction, setStyle, show, show, show, shown, toggle, updateScrollFocusMethods 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, defaults, drawBackground, field, field, field, fill, getAlign, getBackground, getCell, getCells, getClip, getColumns, getColumnWidth, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getRow, getRowHeight, getRows, image, image, image, image, image, imageDraw, invalidate, label, labelWrap, labelWrap, layout, left, margin, margin, marginBottom, marginLeft, marginRight, marginTop, 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, topMethods 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, 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
-
canvas
-
out
-
-
Constructor Details
-
MapObjectivesDialog
public MapObjectivesDialog()
-
-
Method Details
-
defaultInterpreter
-
name
public static void name(arc.scene.ui.layout.Table cont, CharSequence name, @Nullable Runnable remover, @Nullable arc.func.Boolc indexer) -
show
public void show(arc.struct.Seq<MapObjectives.MapObjective> objectives, arc.func.Cons<arc.struct.Seq<MapObjectives.MapObjective>> out) -
rebuildObjectives
-
showContentSelect
public static <T extends UnlockableContent> void showContentSelect(@Nullable ContentType type, arc.func.Cons<T> cons, arc.func.Boolf<T> check) -
showTeamSelect
-
showTeamSelect
-
unbox
-
setInterpreter
public static <T> void setInterpreter(Class<T> type, MapObjectivesDialog.FieldInterpreter<? super T> interpreter) -
setInterpreter
public static <T> void setInterpreter(Class<? extends Annotation> anno, Class<T> type, MapObjectivesDialog.FieldInterpreter<? super T> interpreter) -
hasInterpreter
-
hasInterpreter
-
getInterpreter
-
getInterpreter
public static <T> MapObjectivesDialog.FieldInterpreter<T> getInterpreter(Class<? extends Annotation> anno, Class<T> type) -
setProvider
-
hasProvider
-
getProvider
-