Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractComponent - Class in com.ericlam.mc.eldgui.component
-
用於繼承組件,預設了很多事先的邏輯,方便創建
- AbstractComponent(AttributeController, ItemStackService.ItemFactory) - Constructor for class com.ericlam.mc.eldgui.component.AbstractComponent
- AbstractComponentFactory<Factory extends ComponentFactory<Factory>> - Class in com.ericlam.mc.eldgui.component.factory
-
用於繼承組件工廠,預設了很多事先的邏輯,方便創建
- AbstractComponentFactory(ItemStackService, AttributeController) - Constructor for class com.ericlam.mc.eldgui.component.factory.AbstractComponentFactory
- Activatable - Interface in com.ericlam.mc.eldgui.component.modifier
-
可設置是否被啓動
- add(E) - Method in class com.ericlam.mc.eldgui.CircuitIterator
- addComponentFactory(Class<T>, Class<E>) - Method in interface com.ericlam.mc.eldgui.MVCInstallation
-
新增自定義組件工廠
- addExceptionViewHandlers(List<Class<? extends ExceptionViewHandler>>) - Method in interface com.ericlam.mc.eldgui.MVCInstallation
-
新增自定義異常處理器
- amount - Variable in class com.ericlam.mc.eldgui.InventoryTemplate.ItemDescriptor
- and() - Method in interface com.ericlam.mc.eldgui.view.UIContext.PatternComponentBuilder
-
返回並執行第二個 pattern 的操作
- Animatable - Interface in com.ericlam.mc.eldgui.component.modifier
-
可執行動畫
- AnimatedButtonFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
動態按鈕組件工廠
- AnyView - Interface in com.ericlam.mc.eldgui.view
-
指定該 Controller 內的任何界面,只用於事件處理
- AsyncLoadingView - Annotation Interface in com.ericlam.mc.eldgui.controller
-
使用指定的異步加載界面。可在方法或類上進行標注
- AttributeController - Interface in com.ericlam.mc.eldgui.component
-
物品屬性編輯器
B
- bind(String, Object) - Method in interface com.ericlam.mc.eldgui.component.ComponentFactory
-
綁定組件屬性
- bind(String, Object) - Method in class com.ericlam.mc.eldgui.component.factory.AbstractComponentFactory
- bindAll(String, Object) - Method in interface com.ericlam.mc.eldgui.view.UIContext.PatternComponentBuilder
-
綁定該 pattern 内所有物品的屬性
- bindInput(String) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
綁定屬性。由於是密碼,所以沒有初始數值。
- bindInput(String, boolean) - Method in interface com.ericlam.mc.eldgui.component.factory.CheckboxFactory
-
綁定組件與 Model 屬性
- bindInput(String, String) - Method in interface com.ericlam.mc.eldgui.component.factory.TextInputFactory
-
綁定 組件 與 Model 屬性
- bindInput(String, LocalDate) - Method in interface com.ericlam.mc.eldgui.component.factory.DateSelectorFactory
-
綁定組件與 Model 屬性
- bindInput(String, LocalTime) - Method in interface com.ericlam.mc.eldgui.component.factory.TimeSelectorFactory
-
綁定 Model 屬性與組件
- bindInput(String, Color) - Method in interface com.ericlam.mc.eldgui.component.factory.RGBSelectorFactory
-
綁定組件與 Model 屬性
- bindInput(String, T) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory.NumberTypeFactory
-
綁定 model 屬性
- bindInput(String, T) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory.SelectionSettings
-
綁定組件與 Model 屬性
- build(ItemStackService.ItemFactory) - Method in class com.ericlam.mc.eldgui.component.factory.AbstractComponentFactory
- BukkitItemFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
Bukkit 物品組件工廠
- BukkitRedirectView - Class in com.ericlam.mc.eldgui.view
-
跳轉界面
- BukkitRedirectView(Class<? extends BukkitRedirectView.RedirectView>, String) - Constructor for class com.ericlam.mc.eldgui.view.BukkitRedirectView
-
連帶轉換界面的跳轉界面
- BukkitRedirectView(String) - Constructor for class com.ericlam.mc.eldgui.view.BukkitRedirectView
- BukkitRedirectView.RedirectView - Interface in com.ericlam.mc.eldgui.view
-
跳轉界面接口。如果要跳轉界面,請實作它
- BukkitView<T extends View<M>,
M> - Class in com.ericlam.mc.eldgui.view -
標準界面,用於 controller 的方法中返回用
- BukkitView(Class<T>) - Constructor for class com.ericlam.mc.eldgui.view.BukkitView
-
指定界面
- BukkitView(Class<T>, M) - Constructor for class com.ericlam.mc.eldgui.view.BukkitView
-
指定界面和 Model
- ButtonFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
按鈕的組件工廠
C
- callBack(E) - Method in interface com.ericlam.mc.eldgui.component.modifier.Listenable
-
傳回事件後的動作
- cancelMove - Variable in class com.ericlam.mc.eldgui.InventoryTemplate.ItemDescriptor
- cancelMove() - Element in annotation interface com.ericlam.mc.eldgui.view.ViewDescriptor
- CheckboxFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
勾選框組件工廠
- checked(Material) - Method in interface com.ericlam.mc.eldgui.component.factory.CheckboxFactory
- checkedDisplay(String) - Method in interface com.ericlam.mc.eldgui.component.factory.CheckboxFactory
- checkIsPass(InventoryInteractEvent, char, A) - Method in interface com.ericlam.mc.eldgui.MVCInstallation.QualifierFilter
- CircuitIterator<E> - Class in com.ericlam.mc.eldgui
-
輔助用,循環迭代器
- CircuitIterator(E[]) - Constructor for class com.ericlam.mc.eldgui.CircuitIterator
- CircuitIterator(E[], int) - Constructor for class com.ericlam.mc.eldgui.CircuitIterator
- CircuitIterator(Collection<E>) - Constructor for class com.ericlam.mc.eldgui.CircuitIterator
- CircuitIterator(Collection<E>, int) - Constructor for class com.ericlam.mc.eldgui.CircuitIterator
- Clickable - Interface in com.ericlam.mc.eldgui.component.modifier
-
可透過點擊更改組件屬性
- ClickMapping - Annotation Interface in com.ericlam.mc.eldgui.event
-
點擊事件處理
- com.ericlam.mc.eldgui - package com.ericlam.mc.eldgui
-
基本服務相關和安裝器
- com.ericlam.mc.eldgui.component - package com.ericlam.mc.eldgui.component
-
UI組件類,可用作顯示和輸入等界面互動
- com.ericlam.mc.eldgui.component.factory - package com.ericlam.mc.eldgui.component.factory
-
組件工廠
- com.ericlam.mc.eldgui.component.modifier - package com.ericlam.mc.eldgui.component.modifier
-
組件屬性修飾
- com.ericlam.mc.eldgui.controller - package com.ericlam.mc.eldgui.controller
-
控制器類別
- com.ericlam.mc.eldgui.event - package com.ericlam.mc.eldgui.event
-
界面互動事件類
- com.ericlam.mc.eldgui.exception - package com.ericlam.mc.eldgui.exception
-
異常處理類
- com.ericlam.mc.eldgui.lifecycle - package com.ericlam.mc.eldgui.lifecycle
-
控制器和界面生命周期類
- com.ericlam.mc.eldgui.middleware - package com.ericlam.mc.eldgui.middleware
- com.ericlam.mc.eldgui.view - package com.ericlam.mc.eldgui.view
-
界面類
- component(int, Component) - Method in interface com.ericlam.mc.eldgui.view.UIContext.PatternComponentBuilder
-
根據位置設定組件
- Component - Interface in com.ericlam.mc.eldgui.component
-
組件(靜態)
- ComponentFactory<Factory extends ComponentFactory<Factory>> - Interface in com.ericlam.mc.eldgui.component
-
基礎組件工廠,所有組件工廠必須繼承此類
- components(Component...) - Method in interface com.ericlam.mc.eldgui.view.UIContext.PatternComponentBuilder
-
新增組件
- create() - Method in interface com.ericlam.mc.eldgui.component.ComponentFactory
-
創建組件
- create() - Method in class com.ericlam.mc.eldgui.component.factory.AbstractComponentFactory
- createErrorView(Exception, String, UISession, Player) - Method in interface com.ericlam.mc.eldgui.exception.ExceptionViewHandler
-
全局異常處理。如無指定,則調用此方法處理異常
D
- DateSelectorFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
日期選擇器組件工廠
- Disable - Interface in com.ericlam.mc.eldgui.component.modifier
-
可禁用
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.CheckboxFactory
-
設置禁用
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.DateSelectorFactory
-
設置禁用
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory
-
設置禁用
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置禁用組件
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.RGBSelectorFactory
-
設置禁用
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory
-
設置禁用
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.TextInputFactory
-
設置禁用
- disabled() - Method in interface com.ericlam.mc.eldgui.component.factory.TimeSelectorFactory
-
設置禁用
- DragMapping - Annotation Interface in com.ericlam.mc.eldgui.event
-
拖拽事件處理
E
- event() - Element in annotation interface com.ericlam.mc.eldgui.event.RequestMapping
- ExceptionViewHandler - Interface in com.ericlam.mc.eldgui.exception
-
異常界面處理器。當界面執行時出現異常,將會調用這個類去渲染異常界面。
你可以透過新增自定義方法並標注HandleException
來特別處理指定的異常,但其方法參數必須與ExceptionViewHandler.createErrorView(Exception, String, UISession, Player)
一致
F
- factory(Class<T>) - Method in interface com.ericlam.mc.eldgui.view.UIContext
-
獲取已注冊的組件工廠
- FIELD_TAG - Static variable in interface com.ericlam.mc.eldgui.component.AttributeController
-
預設綁定 Model 屬性名稱 的 標識文字
- fill(Component) - Method in interface com.ericlam.mc.eldgui.view.UIContext.PatternComponentBuilder
-
填滿組件
- FromPattern - Annotation Interface in com.ericlam.mc.eldgui.controller
-
獲取指定 pattern 内的所有物品,使用
List<ItemStack>
返回 - FromSession - Annotation Interface in com.ericlam.mc.eldgui.controller
G
- getAttribute(String) - Method in interface com.ericlam.mc.eldgui.UISession
-
透過 key 獲取數據
- getAttribute(ItemStack, String) - Method in interface com.ericlam.mc.eldgui.component.AttributeController
-
獲取物品的屬性
- getEventClass() - Method in interface com.ericlam.mc.eldgui.component.modifier.Listenable
- getItem() - Method in class com.ericlam.mc.eldgui.component.AbstractComponent
- getItem() - Method in interface com.ericlam.mc.eldgui.component.Component
-
獲取組件内物品
- getMaxWaitingTime() - Method in interface com.ericlam.mc.eldgui.component.modifier.Listenable
- getModel() - Method in class com.ericlam.mc.eldgui.view.BukkitView
- getPlayer() - Method in interface com.ericlam.mc.eldgui.middleware.InterceptContext
-
獲取玩家
- getRedirectTo() - Method in class com.ericlam.mc.eldgui.view.BukkitRedirectView
- getSession() - Method in interface com.ericlam.mc.eldgui.middleware.InterceptContext
-
獲取 session 容器
- getUIDispatcher(String) - Method in interface com.ericlam.mc.eldgui.InventoryService
-
獲取界面調度器
- getView() - Method in class com.ericlam.mc.eldgui.view.BukkitView
- glowing - Variable in class com.ericlam.mc.eldgui.InventoryTemplate.ItemDescriptor
- groupResource() - Element in annotation interface com.ericlam.mc.eldgui.view.UseTemplate
H
- HandleException - Annotation Interface in com.ericlam.mc.eldgui.exception
-
在
ExceptionViewHandler
中新增處理指定異常的方法時標注使用。 - HandleForControllers - Annotation Interface in com.ericlam.mc.eldgui.exception
-
用於標注
ExceptionViewHandler
, 表示本處理器只處理特定 controllers 所抛出的異常 - hashType(PasswordInputFactory.HashType) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置密碼混淆類型
- hasNext() - Method in class com.ericlam.mc.eldgui.CircuitIterator
- hasPrevious() - Method in class com.ericlam.mc.eldgui.CircuitIterator
- hidePasswordTxt(String) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
隱藏密碼文字
I
- icon(Material) - Method in interface com.ericlam.mc.eldgui.component.ComponentFactory
- icon(Material) - Method in class com.ericlam.mc.eldgui.component.factory.AbstractComponentFactory
- icon(Material) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory.SelectionBuilder.Selection
-
該元素的圖示
- icons(Material...) - Method in interface com.ericlam.mc.eldgui.component.factory.AnimatedButtonFactory
- ignoreCancelled() - Element in annotation interface com.ericlam.mc.eldgui.event.ClickMapping
- ignoreCancelled() - Element in annotation interface com.ericlam.mc.eldgui.event.DragMapping
- ignoreCancelled() - Element in annotation interface com.ericlam.mc.eldgui.event.RequestMapping
- inputMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.DateSelectorFactory
- inputMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置輸入提示訊息
- inputMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.RGBSelectorFactory
- inputMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.TimeSelectorFactory
- insert(T) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory.SelectionBuilder
-
插入選擇元素
- intercept(InterceptContext, A) - Method in interface com.ericlam.mc.eldgui.middleware.MiddleWare
-
攔截方法
- InterceptContext - Interface in com.ericlam.mc.eldgui.middleware
-
MiddleWare 專用的 context
- interval(int) - Method in interface com.ericlam.mc.eldgui.component.factory.AnimatedButtonFactory
- invalidMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.DateSelectorFactory
- invalidMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置無效提示訊息
- invalidMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.RGBSelectorFactory
- invalidMessage(String) - Method in interface com.ericlam.mc.eldgui.component.factory.TimeSelectorFactory
- InventoryService - Interface in com.ericlam.mc.eldgui
-
界面服務類,用於獲取界面調度器
- InventoryTemplate - Class in com.ericlam.mc.eldgui
-
界面範本,用於作爲 GroupConfiguration 的繼承,預設所有界面所需屬性
- InventoryTemplate() - Constructor for class com.ericlam.mc.eldgui.InventoryTemplate
- InventoryTemplate.ItemDescriptor - Class in com.ericlam.mc.eldgui
- isAnimating() - Method in interface com.ericlam.mc.eldgui.component.modifier.Animatable
- isCustomTransition() - Method in class com.ericlam.mc.eldgui.view.BukkitRedirectView
- isDisabled() - Method in interface com.ericlam.mc.eldgui.component.modifier.Disable
- ItemAttribute - Annotation Interface in com.ericlam.mc.eldgui.controller
-
獲取點擊物品的指定屬性
- ItemDescriptor() - Constructor for class com.ericlam.mc.eldgui.InventoryTemplate.ItemDescriptor
- items - Variable in class com.ericlam.mc.eldgui.InventoryTemplate
L
- label(String) - Method in interface com.ericlam.mc.eldgui.component.factory.DateSelectorFactory
- label(String) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory
- label(String) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置標題顯示
- label(String) - Method in interface com.ericlam.mc.eldgui.component.factory.RGBSelectorFactory
- label(String) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory
- label(String) - Method in interface com.ericlam.mc.eldgui.component.factory.TextInputFactory
- label(String) - Method in interface com.ericlam.mc.eldgui.component.factory.TimeSelectorFactory
- Listenable<E extends PlayerEvent> - Interface in com.ericlam.mc.eldgui.component.modifier
-
可透過監聽指定玩家事件修改組件屬性
- LoadingView - Interface in com.ericlam.mc.eldgui.view
-
加載界面,用於 Controller 返回 異步界面時 的加載顯示
- lore - Variable in class com.ericlam.mc.eldgui.InventoryTemplate.ItemDescriptor
- lore(String...) - Method in interface com.ericlam.mc.eldgui.component.factory.ButtonFactory
- lores(List<List<String>>) - Method in interface com.ericlam.mc.eldgui.component.factory.AnimatedButtonFactory
M
- MapAttribute - Annotation Interface in com.ericlam.mc.eldgui.controller
-
獲取指定 Pattern 的 所有數值,必須需要使用
Map<String, Object>
來裝載。 - mask(char) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置遮罩文字
- material - Variable in class com.ericlam.mc.eldgui.InventoryTemplate.ItemDescriptor
- max(T) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory.NumberTypeFactory
-
默認數值為 64
- maxWait(long) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置等待最大輸入時間
- MD5 - Enum constant in enum class com.ericlam.mc.eldgui.component.factory.PasswordInputFactory.HashType
- messageInput(String) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory
- messageInput(String) - Method in interface com.ericlam.mc.eldgui.component.factory.TextInputFactory
- messageInvalidNumber(String) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory
- MiddleWare<A extends Annotation> - Interface in com.ericlam.mc.eldgui.middleware
-
中間件攔截器
- min(T) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory.NumberTypeFactory
-
默認數值為 0
- mirror(ItemStack) - Method in interface com.ericlam.mc.eldgui.component.ComponentFactory
-
以該物品為組件外觀原型。注意此舉將會覆蓋之前的所有設定 (包括綁定數值和外觀等)
- mirror(ItemStack) - Method in class com.ericlam.mc.eldgui.component.factory.AbstractComponentFactory
- ModelAttribute - Annotation Interface in com.ericlam.mc.eldgui.controller
-
透過指定 pattern 返回 指定類型的 POJO,系統會自動提取 pattern 内所有組件内的綁定屬性並返回新的 POJO 實例
- MVCInstallation - Interface in com.ericlam.mc.eldgui
-
ELDependenci-MVC 安裝器
- MVCInstallation.QualifierFilter<A extends Annotation> - Interface in com.ericlam.mc.eldgui
N
- name - Variable in class com.ericlam.mc.eldgui.InventoryTemplate.ItemDescriptor
- name - Variable in class com.ericlam.mc.eldgui.InventoryTemplate
- name() - Element in annotation interface com.ericlam.mc.eldgui.view.ViewDescriptor
- next() - Method in class com.ericlam.mc.eldgui.CircuitIterator
- nextIndex() - Method in class com.ericlam.mc.eldgui.CircuitIterator
- number(int) - Method in interface com.ericlam.mc.eldgui.component.ComponentFactory
- number(int) - Method in class com.ericlam.mc.eldgui.component.factory.AbstractComponentFactory
- number(int) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory.SelectionBuilder.Selection
-
該元素的數字標記
- numbers(int...) - Method in interface com.ericlam.mc.eldgui.component.factory.AnimatedButtonFactory
- NumInputFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
數字輸入組件工廠,可用任意數字類型
- NumInputFactory.NumberTypeFactory<T extends Number> - Interface in com.ericlam.mc.eldgui.component.factory
-
泛型數字輸入組件工廠
O
- onClick(InventoryClickEvent) - Method in interface com.ericlam.mc.eldgui.component.modifier.Clickable
-
點擊時的動作
- onListen(Player) - Method in interface com.ericlam.mc.eldgui.component.modifier.Listenable
-
開始監聽時的行爲
- openFor(Player) - Method in interface com.ericlam.mc.eldgui.UIDispatcher
-
為玩家開啓
- openFor(Player, Consumer<UISession>) - Method in interface com.ericlam.mc.eldgui.UIDispatcher
-
為玩家開啓,並初始化 Session
- openForGlobal(Player) - Method in interface com.ericlam.mc.eldgui.UIDispatcher
-
Deprecated.
P
- PasswordInputFactory - Interface in com.ericlam.mc.eldgui.component.factory
- PasswordInputFactory.HashType - Enum Class in com.ericlam.mc.eldgui.component.factory
-
hash類型
- pattern - Variable in class com.ericlam.mc.eldgui.InventoryTemplate
- pattern() - Element in annotation interface com.ericlam.mc.eldgui.event.ClickMapping
- pattern() - Element in annotation interface com.ericlam.mc.eldgui.event.DragMapping
- pattern() - Element in annotation interface com.ericlam.mc.eldgui.event.RequestMapping
- pattern(char) - Method in interface com.ericlam.mc.eldgui.view.UIContext
-
指定一個 pattern 進行操作
- patterns() - Element in annotation interface com.ericlam.mc.eldgui.view.ViewDescriptor
- poll() - Element in annotation interface com.ericlam.mc.eldgui.controller.FromSession
-
是否使用 pollAttribute 方法
- pollAttribute(String) - Method in interface com.ericlam.mc.eldgui.UISession
-
透過 key 提取數據並在 Session 中刪除
- PostConstruct - Annotation Interface in com.ericlam.mc.eldgui.lifecycle
-
Controller 渲染 index 界面後的操作
- PostUpdateView - Annotation Interface in com.ericlam.mc.eldgui.lifecycle
-
界面更新後的操作
- PreDestroy - Annotation Interface in com.ericlam.mc.eldgui.lifecycle
-
Controller 即將被摧毀前的操作
- PreDestroyView - Annotation Interface in com.ericlam.mc.eldgui.lifecycle
-
界面摧毀前的操作
- previous() - Method in class com.ericlam.mc.eldgui.CircuitIterator
- previousIndex() - Method in class com.ericlam.mc.eldgui.CircuitIterator
R
- regex(String) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
設置 regex 來規限密碼格式
- registerControllers(Class<?>...) - Method in interface com.ericlam.mc.eldgui.MVCInstallation
-
安裝 controllers (控制器)
- registerMiddleWare(Class<A>, Class<M>) - Method in interface com.ericlam.mc.eldgui.MVCInstallation
- registerQualifier(Class<A>, MVCInstallation.QualifierFilter<A>) - Method in interface com.ericlam.mc.eldgui.MVCInstallation
-
安裝界面互動事件自定義過濾
- remove() - Method in class com.ericlam.mc.eldgui.CircuitIterator
- renderView(T, UIContext) - Method in interface com.ericlam.mc.eldgui.view.View
-
渲染界面
- RequestMapping - Annotation Interface in com.ericlam.mc.eldgui.event
-
任意事件請求處理
- RGBSelectorFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
RGB 顔色選擇器組件工廠
- rows - Variable in class com.ericlam.mc.eldgui.InventoryTemplate
- rows() - Element in annotation interface com.ericlam.mc.eldgui.view.ViewDescriptor
S
- selectable(Class<T>, Consumer<SelectionFactory.SelectionBuilder<T>>) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory
-
更細節的選擇列表,包括細分圖示和數字標記等
- selectable(List<T>) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory
- SelectionFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
選擇器組件工廠
- SelectionFactory.SelectionBuilder<T> - Interface in com.ericlam.mc.eldgui.component.factory
-
選擇元素建造器
- SelectionFactory.SelectionBuilder.Selection<T> - Interface in com.ericlam.mc.eldgui.component.factory
-
選擇元素設定
- SelectionFactory.SelectionSettings<T> - Interface in com.ericlam.mc.eldgui.component.factory
-
選擇器設定
- set(E) - Method in class com.ericlam.mc.eldgui.CircuitIterator
- setAttribute(char, String, Object) - Method in interface com.ericlam.mc.eldgui.component.AttributeController
-
設置 該 pattern 内所有物品的屬性
- setAttribute(String, Object) - Method in interface com.ericlam.mc.eldgui.UISession
-
設置數據到 Session
- setAttribute(ItemStack, String, Object) - Method in interface com.ericlam.mc.eldgui.component.AttributeController
-
設置屬性
- setGlobalExceptionHandler(Class<? extends ExceptionViewHandler>) - Method in interface com.ericlam.mc.eldgui.MVCInstallation
-
設置全局異常處理器
- setGlobalLoadingView(Class<? extends LoadingView>) - Method in interface com.ericlam.mc.eldgui.MVCInstallation
-
設置全局異步加載界面
- setRedirect(BukkitView<?, ?>) - Method in interface com.ericlam.mc.eldgui.middleware.InterceptContext
-
設置要重導向的界面
- setupByItemFactory(Consumer<ItemStackService.ItemFactory>) - Method in interface com.ericlam.mc.eldgui.component.factory.BukkitItemFactory
-
根據
ItemStackService.ItemFactory
修改組件屬性 - setUpdateHandler(Runnable) - Method in class com.ericlam.mc.eldgui.component.AbstractComponent
- setUpdateHandler(Runnable) - Method in interface com.ericlam.mc.eldgui.component.Component
-
設置更新界面動作
- SHA_256 - Enum constant in enum class com.ericlam.mc.eldgui.component.factory.PasswordInputFactory.HashType
- shouldActivate(InventoryClickEvent) - Method in interface com.ericlam.mc.eldgui.component.modifier.Activatable
- showPasswordTxt(String) - Method in interface com.ericlam.mc.eldgui.component.factory.PasswordInputFactory
-
顯示密碼文字
- startAnimation() - Method in interface com.ericlam.mc.eldgui.component.modifier.Animatable
-
執行動畫
- step(T) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory.NumberTypeFactory
-
默認數值為 1
- stopAnimation() - Method in interface com.ericlam.mc.eldgui.component.modifier.Animatable
-
停止動畫
- submit() - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory.SelectionBuilder.Selection
-
遞交。只有遞交後才能真正加入到組件中
T
- template() - Element in annotation interface com.ericlam.mc.eldgui.view.UseTemplate
- TextInputFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
文字輸入組件工廠
- then() - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory.NumberTypeFactory
-
返回組件工廠
- then() - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory.SelectionSettings
-
返回工廠設置
- TimeSelectorFactory - Interface in com.ericlam.mc.eldgui.component.factory
-
時間選擇器組件工廠 (24H)
- title(String) - Method in interface com.ericlam.mc.eldgui.component.factory.ButtonFactory
- titles(String...) - Method in interface com.ericlam.mc.eldgui.component.factory.AnimatedButtonFactory
- toDisplay(Function<T, String>) - Method in interface com.ericlam.mc.eldgui.component.factory.SelectionFactory.SelectionSettings
-
定義每個選擇元素的文字顯示
U
- UIContext - Interface in com.ericlam.mc.eldgui.view
-
UI 操作類,主要用於界面渲染時存放組件和綁定屬性
- UIContext.PatternComponentBuilder - Interface in com.ericlam.mc.eldgui.view
-
針對指定 pattern 的操作器
- UIController - Annotation Interface in com.ericlam.mc.eldgui.controller
-
標記爲 UIController (控制器)。
你需要定義一個名爲 index 的方法,參數自取所需,必須返回BukkitView
作爲控制器初始界面。
然後新增自定義方法用於處理界面互動,方法必須有com.ericlam.mc.eldgui.event
内的標注,參數各取所需,可返回BukkitView
或者 void
可取參數詳情請到教學文件詳閱。 - UIDispatcher - Interface in com.ericlam.mc.eldgui
-
界面調度器
- UINotFoundException - Exception Class in com.ericlam.mc.eldgui
-
找不到 Controller 時抛出的異常。詳見
InventoryService.getUIDispatcher(String)
- UINotFoundException(String) - Constructor for exception class com.ericlam.mc.eldgui.UINotFoundException
- UISession - Interface in com.ericlam.mc.eldgui
-
玩家在打開界面到關閉界面時的數據容器,用於在各個 Controller 之間傳遞資料用
- unchecked(Material) - Method in interface com.ericlam.mc.eldgui.component.factory.CheckboxFactory
- uncheckedDisplay(String) - Method in interface com.ericlam.mc.eldgui.component.factory.CheckboxFactory
- useNumberType(Class<T>) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory
-
綁定指定數字類型
- UseTemplate - Annotation Interface in com.ericlam.mc.eldgui.view
-
在
View
上使用標注,用於指定 template 文件來進行預設渲染。
V
- value() - Element in annotation interface com.ericlam.mc.eldgui.controller.AsyncLoadingView
- value() - Element in annotation interface com.ericlam.mc.eldgui.controller.FromPattern
- value() - Element in annotation interface com.ericlam.mc.eldgui.controller.FromSession
-
從 UISession 提取該 key 的數值
- value() - Element in annotation interface com.ericlam.mc.eldgui.controller.ItemAttribute
- value() - Element in annotation interface com.ericlam.mc.eldgui.controller.MapAttribute
- value() - Element in annotation interface com.ericlam.mc.eldgui.controller.ModelAttribute
- value() - Element in annotation interface com.ericlam.mc.eldgui.controller.UIController
- value() - Element in annotation interface com.ericlam.mc.eldgui.exception.HandleException
- value() - Element in annotation interface com.ericlam.mc.eldgui.exception.HandleForControllers
- value() - Element in annotation interface com.ericlam.mc.eldgui.lifecycle.PostUpdateView
- value() - Element in annotation interface com.ericlam.mc.eldgui.lifecycle.PreDestroyView
- VALUE_TAG - Static variable in interface com.ericlam.mc.eldgui.component.AttributeController
-
預設綁定 Model 屬性數值 的 標識文字
- valueOf(String) - Static method in enum class com.ericlam.mc.eldgui.component.factory.PasswordInputFactory.HashType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.ericlam.mc.eldgui.component.factory.PasswordInputFactory.HashType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- view() - Element in annotation interface com.ericlam.mc.eldgui.event.ClickMapping
- view() - Element in annotation interface com.ericlam.mc.eldgui.event.DragMapping
- view() - Element in annotation interface com.ericlam.mc.eldgui.event.RequestMapping
- View<T> - Interface in com.ericlam.mc.eldgui.view
-
界面,根據 Model 進行渲染
- ViewDescriptor - Annotation Interface in com.ericlam.mc.eldgui.view
-
在
View
上使用標注,用於直接指定預設渲染物件而不經過 template 文件
W
- waitForInput(long) - Method in interface com.ericlam.mc.eldgui.component.factory.DateSelectorFactory
- waitForInput(long) - Method in interface com.ericlam.mc.eldgui.component.factory.NumInputFactory
- waitForInput(long) - Method in interface com.ericlam.mc.eldgui.component.factory.RGBSelectorFactory
- waitForInput(long) - Method in interface com.ericlam.mc.eldgui.component.factory.TextInputFactory
- waitForInput(long) - Method in interface com.ericlam.mc.eldgui.component.factory.TimeSelectorFactory
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form