public class UIFixtureManager extends UICollapsibleSection implements LXStructure.Listener
UI2dContainer.ArrowKeyFocus, UI2dContainer.Layout
bottomMargin, height, leftMargin, rightMargin, textAlignHorizontal, textAlignVertical, textOffsetX, textOffsetY, topMargin, width, x, y
children, hasFocus, mousePressContextMenu, visible
Constructor and Description |
---|
UIFixtureManager(UI ui,
LX lx,
UIFixtureInspector inspector,
float w) |
Modifier and Type | Method and Description |
---|---|
void |
fixtureAdded(LXFixture fixture)
Invoked when a fixture has been added to the structure
|
void |
fixtureMoved(LXFixture fixture,
int index)
Invoked when a fixture has been moved in the structure's fixture list
|
void |
fixtureRemoved(LXFixture fixture)
Invoked when a fixture has been removed from the structure
|
void |
onKeyPressed(KeyEvent keyEvent,
char keyChar,
int keyCode)
Subclasses override to receive key events
|
getContentTarget, isExpanded, onDraw, onMousePressed, setExpanded, setTitle, setTitleX, toggle
addChildren, addTopLevelComponent, getChild, getChildren, getContentHeight, getContentWidth, iterator, newHorizontalContainer, newHorizontalContainer, newHorizontalContainer, newVerticalContainer, newVerticalContainer, newVerticalContainer, reflow, removeAllChildren, setArrowKeyFocus, setChildMargin, setChildSpacing, setChildSpacing, setContentHeight, setContentSize, setContentTarget, setContentWidth, setLayout, setMinHeight, setMinWidth, setPadding, setPadding, setPadding
addToContainer, addToContainer, breakTextToWidth, clipTextToWidth, contains, drawBackground, drawBorder, drawFocus, drawFocusCorners, drawFocusCorners, getBackgroundColor, getBorderColor, getBorderRounding, getBorderWeight, getContainer, getFocusColor, getFocusSize, getFont, getFontColor, getHeight, getNextSibling, getParent, getPrevSibling, getWidth, getX, getY, hasBackground, hasBorder, hasFont, hasFontColor, isMappable, onResize, redraw, removeFromContainer, setBackground, setBackgroundColor, setBorder, setBorderColor, setBorderRounding, setBorderWeight, setBottomMargin, setContainerIndex, setDescription, setFocusBackground, setFocusBackgroundColor, setFocusColor, setFocusCorners, setFont, setFontColor, setFontColor, setHeight, setLeftMargin, setMappable, setMargin, setMargin, setMargin, setPosition, setPosition, setPosition, setPosition, setRightMargin, setSize, setTextAlignment, setTextAlignment, setTextOffset, setTopMargin, setVisible, setWidth, setX, setY
addLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onFocus, onUIResize, removeLoopTask, toggleVisible
onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMouseReleased, onMouseWheel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public UIFixtureManager(UI ui, LX lx, UIFixtureInspector inspector, float w)
public void fixtureAdded(LXFixture fixture)
LXStructure.Listener
fixtureAdded
in interface LXStructure.Listener
fixture
- Fixture addedpublic void fixtureMoved(LXFixture fixture, int index)
LXStructure.Listener
fixtureMoved
in interface LXStructure.Listener
fixture
- Fixture movedindex
- New index of the fixturepublic void fixtureRemoved(LXFixture fixture)
LXStructure.Listener
fixtureRemoved
in interface LXStructure.Listener
fixture
- Fixture removedpublic void onKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode)
UIEventHandler
onKeyPressed
in class UICollapsibleSection
keyEvent
- Key eventkeyChar
- Key characterkeyCode
- Key code valueLX library by Mark C. Slee. © 2012-2020