public class ToolTip
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ToolTip.Align |
static class |
ToolTip.Builder |
static interface |
ToolTip.Gravity |
static interface |
ToolTip.Position |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGN_CENTER |
static int |
ALIGN_LEFT |
static int |
ALIGN_RIGHT |
static int |
GRAVITY_CENTER |
static int |
GRAVITY_LEFT |
static int |
GRAVITY_RIGHT |
static int |
POSITION_ABOVE |
static int |
POSITION_BELOW |
static int |
POSITION_LEFT_TO |
static int |
POSITION_RIGHT_TO |
| Constructor and Description |
|---|
ToolTip(ToolTip.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alignedCenter() |
boolean |
alignedLeft() |
boolean |
alignedRight() |
int |
getAlign() |
android.view.View |
getAnchorView() |
int |
getBackgroundColor() |
android.content.Context |
getContext() |
float |
getElevation() |
java.lang.String |
getMessage() |
int |
getOffsetX() |
int |
getOffsetY() |
int |
getPosition() |
android.view.ViewGroup |
getRootView() |
android.text.Spannable |
getSpannableMessage() |
int |
getTextColor() |
int |
getTextGravity() |
int |
getTextSize() |
boolean |
hideArrow() |
boolean |
positionedAbove() |
boolean |
positionedBelow() |
boolean |
positionedLeftTo() |
boolean |
positionedRightTo() |
void |
setPosition(int position) |
public static final int POSITION_ABOVE
public static final int POSITION_BELOW
public static final int POSITION_LEFT_TO
public static final int POSITION_RIGHT_TO
public static final int ALIGN_CENTER
public static final int ALIGN_LEFT
public static final int ALIGN_RIGHT
public static final int GRAVITY_CENTER
public static final int GRAVITY_LEFT
public static final int GRAVITY_RIGHT
public ToolTip(ToolTip.Builder builder)
public android.content.Context getContext()
public android.view.View getAnchorView()
public android.view.ViewGroup getRootView()
public java.lang.String getMessage()
public int getPosition()
public int getAlign()
public int getOffsetX()
public int getOffsetY()
public boolean hideArrow()
public int getBackgroundColor()
public int getTextColor()
public boolean positionedLeftTo()
public boolean positionedRightTo()
public boolean positionedAbove()
public boolean positionedBelow()
public boolean alignedCenter()
public boolean alignedLeft()
public boolean alignedRight()
public void setPosition(int position)
public float getElevation()
public int getTextSize()
public int getTextGravity()
public android.text.Spannable getSpannableMessage()