Class ControlItem<G extends GUI>
java.lang.Object
de.studiocode.invui.item.impl.BaseItem
de.studiocode.invui.item.impl.controlitem.ControlItem<G>
- Type Parameters:
G- The GUI Type thisControlItemwill control. Not checked when adding it to a GUI.
- All Implemented Interfaces:
Item
- Direct Known Subclasses:
PageItem,ScrollItem,TabItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGui()final ItemProviderGets theItemProvider.abstract ItemProvidergetItemProvider(G gui) voidMethods inherited from class de.studiocode.invui.item.impl.BaseItem
addWindow, getWindows, notifyWindows, removeWindowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.studiocode.invui.item.Item
handleClick
-
Constructor Details
-
ControlItem
public ControlItem()
-
-
Method Details
-
getItemProvider
-
getItemProvider
Description copied from interface:ItemGets theItemProvider. This method gets called every time aWindowis notified (Item.notifyWindows()).- Returns:
- The
ItemProvider
-
getGui
-
setGui
-