public class GermGuiCanvas extends GermGuiPart<GermGuiCanvas> implements IGuiPartInteractive<GermGuiCanvas>, IAnimatable<GermGuiCanvas>, IGuiPartContainer, IGuiPartResizeable<GermGuiCanvas>
Modifier and Type | Class and Description |
---|---|
static class |
GermGuiCanvas.Drag |
GermGuiCallback.CallBackMachine
Constructor and Description |
---|
GermGuiCanvas(java.lang.String indexName) |
Modifier and Type | Method and Description |
---|---|
GermGuiCanvas |
addAnimation(GermAnimationPart<? extends DynamicBase> germAnimationPart) |
GermGuiCanvas |
addAnimation(java.lang.String animationName) |
void |
addGuiPart(GermGuiPart<? extends DynamicBase> germGuiPart) |
GermGuiCanvas |
clearAnimations() |
void |
clearGuiPart() |
GermGuiCanvas |
clone() |
<T extends GermGuiPart<? extends DynamicBase>> |
getAllGuiParts(java.lang.Class<T> primitivePartClass) |
java.lang.Object |
getAnimations() |
GermGuiPart<? extends DynamicBase> |
getBackground()
*********************************************************************************
|
GermGuiCanvas.Drag |
getDrag() |
GermGuiPart<? extends DynamicBase> |
getGuiPart(java.lang.String indexName) |
<T extends GermGuiPart<? extends DynamicBase>> |
getGuiPart(java.lang.String indexName,
java.lang.Class<T> primitivePartClass) |
java.util.List<GermGuiPart<? extends DynamicBase>> |
getGuiParts() |
<T extends GermGuiPart<? extends DynamicBase>> |
getGuiParts(java.lang.Class<T> primitivePartClass) |
GermGuiSlot |
getGuiSlotFromIdentity(java.lang.String slotIdentity) |
java.lang.String |
getHeight() |
MappingType |
getMappingType() |
org.bukkit.configuration.ConfigurationSection |
getSrcBackground() |
org.bukkit.configuration.ConfigurationSection |
getSrcDrag() |
org.bukkit.configuration.ConfigurationSection |
getSrcLayout() |
org.bukkit.configuration.ConfigurationSection |
getSrcRelativeParts() |
int |
getType() |
java.lang.String |
getWidth() |
boolean |
isDragSwallow() |
boolean |
isInvalid() |
GermGuiCanvas |
removeAnimation(GermAnimationPart<? extends DynamicBase> germAnimationPart) |
GermGuiCanvas |
removeAnimation(java.lang.String animationName) |
void |
removeGuiPart(GermGuiPart<? extends DynamicBase> germGuiPart) |
void |
removeGuiPart(java.lang.String indexName) |
GermGuiCanvas |
setAnimation(GermAnimationPart<? extends DynamicBase> germAnimationPart) |
GermGuiCanvas |
setAnimationGroup(AnimationGroup animationGroup) |
GermGuiCanvas |
setAnimationList(java.util.List<java.lang.String> animationList) |
GermGuiCanvas |
setAnimations(java.lang.Object objAnimation)
|
void |
setBackground(org.bukkit.configuration.ConfigurationSection configurationSection) |
GermGuiCanvas |
setBackground(GermGuiPart<? extends DynamicBase> background) |
GermGuiCanvas |
setDrag(org.bukkit.configuration.ConfigurationSection dragConfiguration) |
GermGuiCanvas |
setDrag(GermGuiCanvas.Drag drag) |
GermGuiCanvas |
setDragSwallow(boolean dragSwallow) |
GermGuiCanvas |
setH(java.lang.String height) |
GermGuiCanvas |
setHeight(java.lang.String height) |
GermGuiCanvas |
setInvalid(boolean invalid) |
GermGuiCanvas |
setLayout(org.bukkit.configuration.ConfigurationSection layoutConfiguration) |
GermGuiCanvas |
setLayout(GermGuiLayout germGuiLayout) |
void |
setMappingType(MappingType mappingType) |
protected void |
setParentPart(GermGuiPart<? extends DynamicBase> parentPart) |
void |
setRelativeParts(org.bukkit.configuration.ConfigurationSection configurationSection) |
GermGuiCanvas |
setW(java.lang.String width) |
GermGuiCanvas |
setWidth(java.lang.String width) |
void |
sortGuiPart(java.util.Comparator<GermGuiPart<? extends DynamicBase>> comparator) |
copyFrom, copyTo, getEnable, getGermGuiPart, getGermGuiPart, getGermGuiPart, getGermGuiPart, getGermGuiScreen, getInitDos, getInitScript, getLocationX, getLocationY, getLocationZ, getParentPart, getPlayer, getRealName, getSimpleMap, getTickDos, getTickScript, getTooltip, getTooltip2, isAsync, isEnable, isOpened, isViewportCulling, loadSrc, loadSrc, refreshField, refreshList, setAsync, setEnable, setEnable, setGermGuiScreen, setIndexName, setInitDos, setInitDos, setInitScript, setLocationX, setLocationX, setLocationX, setLocationY, setLocationY, setLocationY, setLocationZ, setLocationZ, setLocationZ, setTickDos, setTickDos, setTickScript, setTooltip, setTooltip2, setViewportCulling, setX, setY, setZ
clearCallbackHandler, getCallbackHandler, getHandler, getPlayerHandler, onCallback, registerCallbackHandler, registerHandler, registerPlayerHandler, removeCallbackHandler, removeHandler, removeHandler, removePlayerHandler, removePlayerHandler
canEqual, copyFrom, copyTo, equals, getIndexName, getSrc, hashCode, toString
public int getType()
public java.lang.String getWidth()
getWidth
in interface IGuiPartResizeable<GermGuiCanvas>
public GermGuiCanvas setWidth(java.lang.String width)
setWidth
in interface IGuiPartResizeable<GermGuiCanvas>
public java.lang.String getHeight()
getHeight
in interface IGuiPartResizeable<GermGuiCanvas>
public GermGuiCanvas setHeight(java.lang.String height)
setHeight
in interface IGuiPartResizeable<GermGuiCanvas>
public GermGuiCanvas setW(java.lang.String width)
setW
in interface IGuiPartResizeable<GermGuiCanvas>
public GermGuiCanvas setH(java.lang.String height)
setH
in interface IGuiPartResizeable<GermGuiCanvas>
public boolean isInvalid()
isInvalid
in interface IGuiPartInteractive<GermGuiCanvas>
public GermGuiCanvas setInvalid(boolean invalid)
setInvalid
in interface IGuiPartInteractive<GermGuiCanvas>
protected void setParentPart(GermGuiPart<? extends DynamicBase> parentPart)
setParentPart
in class GermGuiPart<GermGuiCanvas>
public void addGuiPart(GermGuiPart<? extends DynamicBase> germGuiPart)
addGuiPart
in interface IGuiPartContainer
public void clearGuiPart()
clearGuiPart
in interface IGuiPartContainer
public GermGuiPart<? extends DynamicBase> getGuiPart(java.lang.String indexName)
getGuiPart
in interface IGuiPartContainer
public <T extends GermGuiPart<? extends DynamicBase>> T getGuiPart(java.lang.String indexName, java.lang.Class<T> primitivePartClass)
getGuiPart
in interface IGuiPartContainer
public void sortGuiPart(java.util.Comparator<GermGuiPart<? extends DynamicBase>> comparator)
sortGuiPart
in interface IGuiPartContainer
public void removeGuiPart(GermGuiPart<? extends DynamicBase> germGuiPart)
removeGuiPart
in interface IGuiPartContainer
public void removeGuiPart(java.lang.String indexName)
removeGuiPart
in interface IGuiPartContainer
public java.util.List<GermGuiPart<? extends DynamicBase>> getGuiParts()
getGuiParts
in interface IGuiPartContainer
public <T extends GermGuiPart<? extends DynamicBase>> java.util.List<T> getGuiParts(java.lang.Class<T> primitivePartClass)
getGuiParts
in interface IGuiPartContainer
@Nullable public GermGuiSlot getGuiSlotFromIdentity(java.lang.String slotIdentity)
getGuiSlotFromIdentity
in interface IGuiPartContainer
public <T extends GermGuiPart<? extends DynamicBase>> java.util.List<T> getAllGuiParts(java.lang.Class<T> primitivePartClass)
getAllGuiParts
in interface IGuiPartContainer
public void setMappingType(MappingType mappingType)
setMappingType
in interface IGuiPartContainer
public MappingType getMappingType()
getMappingType
in interface IGuiPartContainer
public void setRelativeParts(org.bukkit.configuration.ConfigurationSection configurationSection)
public org.bukkit.configuration.ConfigurationSection getSrcRelativeParts()
public GermGuiCanvas setAnimation(GermAnimationPart<? extends DynamicBase> germAnimationPart)
setAnimation
in interface IAnimatable<GermGuiCanvas>
public GermGuiCanvas setAnimationGroup(AnimationGroup animationGroup)
setAnimationGroup
in interface IAnimatable<GermGuiCanvas>
public GermGuiCanvas addAnimation(GermAnimationPart<? extends DynamicBase> germAnimationPart)
addAnimation
in interface IAnimatable<GermGuiCanvas>
public GermGuiCanvas removeAnimation(GermAnimationPart<? extends DynamicBase> germAnimationPart)
removeAnimation
in interface IAnimatable<GermGuiCanvas>
public GermGuiCanvas setAnimationList(java.util.List<java.lang.String> animationList)
setAnimationList
in interface IAnimatable<GermGuiCanvas>
public GermGuiCanvas removeAnimation(java.lang.String animationName)
removeAnimation
in interface IAnimatable<GermGuiCanvas>
public GermGuiCanvas addAnimation(java.lang.String animationName)
addAnimation
in interface IAnimatable<GermGuiCanvas>
public GermGuiCanvas setAnimations(java.lang.Object objAnimation)
List
<String
>AnimationGroup
GermAnimationPart
setAnimations
in interface IAnimatable<GermGuiCanvas>
objAnimation
- public GermGuiCanvas clearAnimations()
clearAnimations
in interface IAnimatable<GermGuiCanvas>
public java.lang.Object getAnimations()
getAnimations
in interface IAnimatable<GermGuiCanvas>
List
<String
> 或者
AnimationGroup
或者
GermAnimationPart
public void setBackground(org.bukkit.configuration.ConfigurationSection configurationSection)
public org.bukkit.configuration.ConfigurationSection getSrcBackground()
public GermGuiCanvas setBackground(GermGuiPart<? extends DynamicBase> background)
public final org.bukkit.configuration.ConfigurationSection getSrcLayout()
public final GermGuiCanvas setLayout(org.bukkit.configuration.ConfigurationSection layoutConfiguration)
public final GermGuiCanvas setLayout(GermGuiLayout germGuiLayout)
public boolean isDragSwallow()
public GermGuiCanvas setDragSwallow(boolean dragSwallow)
public GermGuiCanvas setDrag(org.bukkit.configuration.ConfigurationSection dragConfiguration)
public GermGuiCanvas setDrag(GermGuiCanvas.Drag drag)
public GermGuiCanvas.Drag getDrag()
public org.bukkit.configuration.ConfigurationSection getSrcDrag()
public GermGuiCanvas clone()
clone
in class GermGuiPart<GermGuiCanvas>
public GermGuiPart<? extends DynamicBase> getBackground()