public class Builder extends Control
Modifier and Type | Class and Description |
---|---|
static class |
Builder.EnumTipoBotao |
Control.TranslucentShape
Modifier and Type | Field and Description |
---|---|
static int |
APP_BACK_COLOR |
static int |
APP_BUTTON_COLOR |
static int |
APP_FORE_COLOR |
static int |
APP_SEC_FORE_COLOR |
static Builder.EnumTipoBotao |
BTN_ERROR |
static Builder.EnumTipoBotao |
BTN_FORM |
static Builder.EnumTipoBotao |
BTN_REGULAR |
static Builder.EnumTipoBotao |
BTN_SECUNDARY |
static Builder.EnumTipoBotao |
BTN_SPOTLIGHT |
static int |
SPACE_TO_BORDER |
static int |
TEXT_HIGHLIGHT_COLOR |
static int |
TEXT_REQUIRED_COLOR |
AFTER, alphaValue, appId, appObj, asContainer, asWindow, backColor, BEFORE, BOTTOM, BOTTOM_OF, BRIGHTER_BACKGROUND, callListenersOnAllTargets, CENTER, CENTER_OF, clearValueInt, clearValueStr, DARKER_BACKGROUND, DP, effect, enableUpdateScreen, esce, eventsEnabled, FILL, fillColor, FIT, floating, fm, fmH, focusHandler, focusLess, focusOnPenDown, focusTraversable, font, FONTSIZE, foreColor, height, ignoreInsets, isHighlighting, isTablet, KEEP, keepDisabled, keepEnabled, LEFT, next, nextTabControl, npParts, offscreen, offscreen0, onEventFirst, parent, PARENTSIZE, PARENTSIZEMAX, PARENTSIZEMIN, PREFERRED, prev, RANGE, repositionAllowed, RIGHT, RIGHT_OF, SAME, SCREENSIZE, SCREENSIZEMAX, SCREENSIZEMIN, setFont, setH, setRel, setW, setX, SETX_NOT_SET, setY, tempW, textShadowColor, TOP, translucentShape, transparentBackground, uiAdjustmentsBasedOnFontHeightIsSupported, uiAndroid, UICONST, uiFlat, uiHolo, uiMaterial, uiVista, visible, width, WILL_RESIZE, x, y
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
static Button |
createButton(java.lang.String text)
Creates a regular Button
|
static Button |
createButton(java.lang.String text,
Builder.EnumTipoBotao status)
Creates a button displaying the given text.
|
static Button |
createButton(java.lang.String msg,
Image img) |
static Button |
createButton(java.lang.String text,
Image img,
int textPosition,
int gap,
Builder.EnumTipoBotao status) |
static void |
setDefaultColor(int APP_FORE_COLOR,
int APP_BACK_COLOR,
int APP_SEC_FORE_COLOR,
int APP_BUTTON_COLOR) |
_onEvent, addEnabledStateListener, addFocusListener, addFontChangeHandler, addGridListener, addHandler, addHighlightListener, addKeyListener, addListContainerListener, addMouseListener, addMultiTouchListener, addPenListener, addPressListener, addPushNotificationListener, addSizeChangeHandler, addTimer, addTimer, addTimerListener, addValueChangeHandler, addWindowListener, bringToFront, changeHighlighted, clear, contains, drawTranslucentBackground, getAbsoluteRect, getBackColor, getDoEffect, getEffectH, getEffectW, getEffectX, getEffectY, getEventListeners, getFont, getForeColor, getGap, getGraphics, getHeight, getNext, getParent, getParentWindow, getPos, getPreferredHeight, getPreferredWidth, getPressedEvent, getPrev, getRect, getSize, getTextShadowColor, getWidth, getX, getX2, getY, getY2, hadParentScrolled, handleGeographicalFocusChangeKeys, hasFocus, internalSetEnabled, intXYWH, isActionEvent, isChildOf, isDisplayed, isEnabled, isFloating, isInsideOrNear, isObscured, isTopMost, isVisible, isVisibleAndInside, onBoundsChanged, onColorsChanged, onEvent, onFontChanged, onPaint, onWindowPaintFinished, post, postEvent, postPressedEvent, releaseScreenShot, removeEnabledStateListener, removeFocusListener, removeGridListener, removeHandler, removeHighlightListener, removeKeyListener, removeListContainerListener, removeMouseListener, removeMultiTouchListener, removePenListener, removePressListener, removePushNotificationListener, removeTimer, removeTimerListener, removeWindowListener, repaint, repaintNow, reposition, reposition, repositionChildren, requestFocus, resetSetPositions, resetStyle, safeRepaintNow, safeUpdateScreen, sendToBack, setBackColor, setBackForeColors, setDoEffect, setEnabled, setFloating, setFocusLess, setFont, setForeColor, setNinePatch, setNinePatch, setRect, setRect, setRect, setRect, setSet, setTextShadowColor, setTranslucent, setVisible, showTip, takeInitialScreenShot, takeScreenShot, translateFromOrigin, uiStyleChanged, updateScreen, updateTemporary, willOpenKeyboard
public static final Builder.EnumTipoBotao BTN_FORM
public static final Builder.EnumTipoBotao BTN_SPOTLIGHT
public static final Builder.EnumTipoBotao BTN_REGULAR
public static final Builder.EnumTipoBotao BTN_SECUNDARY
public static final Builder.EnumTipoBotao BTN_ERROR
public static int TEXT_HIGHLIGHT_COLOR
public static int TEXT_REQUIRED_COLOR
public static int APP_FORE_COLOR
public static int APP_BACK_COLOR
public static int APP_SEC_FORE_COLOR
public static int APP_BUTTON_COLOR
public static final int SPACE_TO_BORDER
public static void setDefaultColor(int APP_FORE_COLOR, int APP_BACK_COLOR, int APP_SEC_FORE_COLOR, int APP_BUTTON_COLOR)
public static Button createButton(java.lang.String text, Image img, int textPosition, int gap, Builder.EnumTipoBotao status)
public static Button createButton(java.lang.String text)
public static Button createButton(java.lang.String text, Builder.EnumTipoBotao status)