public class StyleRulesetEditor<T extends StyleRule,E extends UiElement> extends Column implements ActionListener
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode| Constructor and Description |
|---|
StyleRulesetEditor(UiEditorThemeView themeEditorView,
java.lang.Class<T> styleRuleClass,
java.lang.Class<E> elementClass,
java.lang.String rulesetId,
StyleRuleset<T> ruleset) |
| Modifier and Type | Method and Description |
|---|---|
protected ParentRenderNode<?,?> |
createRenderNode(ParentRenderNode<?,?> parent)
Creates the
ParentRenderNode for this UiElement |
E |
getElement() |
Row |
getElementRow() |
UiTheme |
getInGameUiTheme() |
ScreenSize |
getScreenSize() |
float |
getScreenSizeScale() |
void |
onActionBegin(ActionEvent event)
Called when an action event begins (e.g.
|
void |
onActionEnd(ActionEvent event)
Called when an action event ends (e.g.
|
void |
onResize(int width,
int height) |
<T extends UiElement> |
setElement(T element) |
withElements, withElementsadd, add, addAsync, attach, detach, get, getElementById, getFlexDirection, getHorizontalLayout, getTotalChildren, getVerticalLayout, isOverflowClipped, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setHorizontalLayout, setOverflowClipped, setStyleId, setVerticalLayout, setVisibility, setZIndex, syncWithRenderNodeaddEffectListener, addHoverListener, applyEffect, defer, defer, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, processDeferred, removeEffectListener, removeHoverListener, setDebugEnabledpublic StyleRulesetEditor(UiEditorThemeView themeEditorView, java.lang.Class<T> styleRuleClass, java.lang.Class<E> elementClass, java.lang.String rulesetId, StyleRuleset<T> ruleset)
public void onResize(int width,
int height)
protected ParentRenderNode<?,?> createRenderNode(ParentRenderNode<?,?> parent)
ParentUiElementParentRenderNode for this UiElementcreateRenderNode in class Columnparent - The parent of this nodeParentRenderNodepublic void onActionBegin(ActionEvent event)
ActionListeneronActionBegin in interface ActionListenerevent - An ActionEvent instance containing the event detailspublic void onActionEnd(ActionEvent event)
ActionListeneronActionEnd in interface ActionListenerevent - An ActionEvent instance containing the event detailspublic E getElement()
public <T extends UiElement> void setElement(T element)
public UiTheme getInGameUiTheme()
public ScreenSize getScreenSize()
public float getScreenSizeScale()
public Row getElementRow()