-
-
Constructor Summary
Constructors
-
Method Summary
void
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
Checks if the layer is floating and updates the floating layer.
int
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
void
void
void
void
void
Methods inherited from class net.mcreator.util.ArrayListListModel
addAll, addAll, clear, contains, containsAll, get, getElementAt, getSize, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, retainAll, size, subList, switchElements, toArray, toArray
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
-
Method Details
-
-
add
public boolean add(Layer layer,
int index,
UUID group)
-
-
addOnTop
public boolean addOnTop(Layer layer,
UUID group)
-
addOnTop
public boolean addOnTop(Layer layer)
-
-
floatingCheck
public void floatingCheck(Layer layer)
Checks if the layer is floating and updates the floating layer.
- Parameters:
layer
- the layer to check
-
getFloatingLayer
public Layer getFloatingLayer()
-
getSelection
Returns the selection.
- Returns:
- the selection
-
-
-
remove
public Layer remove(int index,
UUID group,
int toSelect)
-
-
-
removeNR
public Layer removeNR(int index)
-
-
-
mergeDown
public boolean mergeDown(int selectedID)
-
mergeDown
public boolean mergeDown(int selectedID,
UUID uuid)
-
consolidateFloating
public boolean consolidateFloating()
-
mergeSelectedDown
public boolean mergeSelectedDown()
-
update
public void update(Layer layer)
-
update
public void update(int index)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
-
-
enablePreview
public void enablePreview(boolean drawPreview)
-
-
enableCustomPreview
public void enableCustomPreview(boolean drawPreview)
-
isDrawPreview
public boolean isDrawPreview()
-
-
-
-
getPreviewImage
public Image getPreviewImage()
-
isDrawCustomPreview
public boolean isDrawCustomPreview()
-
-
-
-
setSize
public void setSize(int width,
int height,
UUID group)
-
setSize
public void setSize(int width,
int height)