public abstract class ElementFactory
extends java.lang.Object
| Constructor and Description |
|---|
ElementFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract IFCloseContext |
createCloseContext(@NotNull Viewer viewer,
@NotNull IFRenderContext parent)
Creates a new close context for the current platform.
|
abstract ComponentBuilder<?,?> |
createComponentBuilder(@NotNull VirtualView root)
Creates a new platform builder instance.
|
abstract @NotNull ViewContainer |
createContainer(@NotNull IFContext context)
Create a new current platform container for the specified context.
|
abstract IFOpenContext |
createOpenContext(@NotNull RootView root,
@Nullable Viewer subject,
@NotNull java.util.List<Viewer> viewers,
java.lang.Object initialData) |
abstract IFRenderContext |
createRenderContext(@NotNull java.util.UUID id,
@NotNull RootView root,
@NotNull ViewConfig config,
@NotNull ViewContainer container,
@NotNull java.util.Map<java.lang.String,Viewer> viewers,
Viewer subject,
java.lang.Object initialData) |
abstract IFSlotClickContext |
createSlotClickContext(int slotClicked,
@NotNull Viewer whoClicked,
@NotNull ViewContainer interactionContainer,
@Nullable Component componentClicked,
@NotNull java.lang.Object origin) |
abstract IFSlotRenderContext |
createSlotRenderContext(int slot,
@NotNull IFRenderContext parent,
@Nullable Viewer viewer) |
abstract @NotNull RootView |
createUninitializedRoot()
Creates a new root view for the current platform.
|
abstract @NotNull Viewer |
createViewer(@NotNull java.lang.Object entity,
IFRenderContext context) |
abstract Logger |
getLogger() |
abstract Job |
scheduleJobInterval(@NotNull RootView root,
long intervalInTicks,
@NotNull java.lang.Runnable execution) |
abstract boolean |
worksInCurrentPlatform() |
public abstract Logger getLogger()
@NotNull public abstract @NotNull RootView createUninitializedRoot()
@NotNull public abstract @NotNull ViewContainer createContainer(@NotNull @NotNull IFContext context)
context - The context.@NotNull public abstract @NotNull Viewer createViewer(@NotNull @NotNull java.lang.Object entity, IFRenderContext context)
public abstract IFOpenContext createOpenContext(@NotNull @NotNull RootView root, @Nullable @Nullable Viewer subject, @NotNull @NotNull java.util.List<Viewer> viewers, java.lang.Object initialData)
public abstract IFRenderContext createRenderContext(@NotNull @NotNull java.util.UUID id, @NotNull @NotNull RootView root, @NotNull @NotNull ViewConfig config, @NotNull @NotNull ViewContainer container, @NotNull @NotNull java.util.Map<java.lang.String,Viewer> viewers, Viewer subject, java.lang.Object initialData)
public abstract IFSlotClickContext createSlotClickContext(int slotClicked, @NotNull @NotNull Viewer whoClicked, @NotNull @NotNull ViewContainer interactionContainer, @Nullable @Nullable Component componentClicked, @NotNull @NotNull java.lang.Object origin)
public abstract IFSlotRenderContext createSlotRenderContext(int slot, @NotNull @NotNull IFRenderContext parent, @Nullable @Nullable Viewer viewer)
public abstract IFCloseContext createCloseContext(@NotNull @NotNull Viewer viewer, @NotNull @NotNull IFRenderContext parent)
viewer - The viewer that is currently the subject of the event of close.public abstract ComponentBuilder<?,?> createComponentBuilder(@NotNull @NotNull VirtualView root)
public abstract boolean worksInCurrentPlatform()