public class EcfSelect extends UISelect<net.minecraft.util.text.TextFormatting>
UISelect.Option<T>, UISelect.SelectEvent<T>ITransformable.Alpha, ITransformable.Brightness, ITransformable.Color, ITransformable.Position<T>, ITransformable.Rotate, ITransformable.Scale, ITransformable.Size<T>, ITransformable.TranslatearrowIcon, arrowShape, bgColor, disabledFro, disablePredicate, expanded, font, fro, hoverBgColor, hoveredFro, iconsExpanded, labelFunction, labelPattern, maxDisplayedOptions, maxExpandedWidth, optionBackground, optionFunction, optionOffset, options, optionsHeight, optionsShape, optionsWidth, scrollbar, selectedFro, selectedOption| Constructor and Description |
|---|
EcfSelect(MalisisGui gui,
MCEditor editor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onClick(int x,
int y)
On click.
|
void |
setSelectedOption(UISelect.Option<net.minecraft.util.text.TextFormatting> option)
Sets the selected
UISelect.Option. |
drawBackground, drawForeground, getBgColor, getClipArea, getContentHeight, getContentWidth, getDisabledFontRendererOptions, getFont, getFontRenderOptions, getHeight, getHorizontalPadding, getHoverBgColor, getHoveredFontRendererOptions, getOffsetX, getOffsetY, getOption, getOptionAt, getScrollStep, getSelectedFontRendererOptions, getSelectedIndex, getSelectedOption, getSelectedValue, getVerticalPadding, getZIndex, isInsideBounds, iterator, maxDisplayedOptions, onKeyTyped, onScrollWheel, select, select, selectFirst, selectLast, selectNext, selectPrevious, setBgColor, setClipContent, setColors, setDisabledFontRendererOptions, setDisablePredicate, setFocused, setFont, setFontRenderOptions, setHoverBgColor, setHoveredFontRendererOptions, setLabelFunction, setLabelPattern, setMaxExpandedWidth, setOffsetX, setOffsetY, setOptionFunction, setOptions, setSelectedFontRendererOptions, setSelectedOption, shouldClipContentaddControlComponent, attachData, componentX, componentY, draw, fireEvent, getAlpha, getAnchor, getComponentAt, getData, getGui, getIconProvider, getName, getParent, getPropertyString, getRawHeight, getRawWidth, getRenderer, getTooltip, getWidth, getX, getY, isDisabled, isFocused, isHovered, isRelativeHeight, isRelativeWidth, isVisible, onAddedToScreen, onButtonPress, onButtonRelease, onDoubleClick, onDrag, onMouseMove, onRightClick, parentX, parentY, register, relativeX, relativeY, removeAllControlComponents, removeControlComponent, screenX, screenY, self, setAlpha, setAnchor, setDisabled, setHovered, setName, setParent, setPosition, setPosition, setSize, setTooltip, setTooltip, setVisible, setZIndex, toString, unregisterpublic EcfSelect(MalisisGui gui, MCEditor editor)
public void setSelectedOption(UISelect.Option<net.minecraft.util.text.TextFormatting> option)
UISelectUISelect.Option.setSelectedOption in class UISelect<net.minecraft.util.text.TextFormatting>option - the new selected optionpublic boolean onClick(int x,
int y)
UIComponent