public interface AppChoiceItemContext<T>
| Modifier and Type | Method and Description |
|---|---|
Application |
getApplication() |
AppColor |
getBackgroundColor() |
AppChoiceControl<T> |
getChoice() |
AppColor |
getColor() |
AppFont |
getFont() |
int |
getIndex() |
T |
getValue() |
boolean |
isDisabled() |
boolean |
isFocused() |
boolean |
isSelected() |
void |
renderDefault() |
void |
setBackgroundColor(AppColor color) |
void |
setIcon(AppImage icon) |
void |
setIcon(net.thevpc.common.i18n.Str icon) |
void |
setOpaque(boolean opaque) |
void |
setText(String text) |
void |
setTextAlign(Anchor align) |
void |
setTextColor(AppColor color) |
void |
setTextFont(AppFont font) |
void |
setTextStrikeThrough(boolean strikeThrough) |
void |
setTextStrokeSize(int size) |
void |
setTextUnderline(boolean underline) |
void |
setValue(T value) |
AppChoiceControl<T> getChoice()
Application getApplication()
int getIndex()
T getValue()
void setText(String text)
void setOpaque(boolean opaque)
void setTextColor(AppColor color)
void setTextFont(AppFont font)
void setTextUnderline(boolean underline)
void setTextStrikeThrough(boolean strikeThrough)
void setTextStrokeSize(int size)
void setTextAlign(Anchor align)
void setIcon(AppImage icon)
void setIcon(net.thevpc.common.i18n.Str icon)
boolean isSelected()
boolean isFocused()
boolean isDisabled()
AppFont getFont()
AppColor getColor()
AppColor getBackgroundColor()
void setBackgroundColor(AppColor color)
void renderDefault()
void setValue(T value)
Copyright © 2021 vpc open source initiative. All rights reserved.