@Deprecated public class LayoutWidget extends AbstractParentWidget
| Modifier and Type | Class and Description |
|---|---|
static class |
LayoutWidget.Factory
Deprecated.
|
static interface |
LayoutWidget.OnBackingColorChangedListener
Deprecated.
|
static interface |
LayoutWidget.OnDragEnabledChangedListener
Deprecated.
|
AbstractParentWidget.OnWidgetListChangedListenerMapWidget2.OnWidgetSizeChangedListenerMapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener| Constructor and Description |
|---|
LayoutWidget()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOnBackingColorChangedListener(ILayoutWidget.OnBackingColorChangedListener l)
Deprecated.
|
void |
addOnDragEnabledChangedListener(ILayoutWidget.OnDragEnabledChangedListener l)
Deprecated.
|
void |
fadeAlpha(int fromAlpha,
int toAlpha,
int fadeTimeMS)
Deprecated.
Fade alpha of layout and its children
|
float |
getAlpha()
Deprecated.
|
int |
getBackingColor()
Deprecated.
|
boolean |
getDragEnabled()
Deprecated.
|
boolean |
getNinePatchBG()
Deprecated.
|
boolean |
isFadingAlpha()
Deprecated.
|
void |
onBackingColorChanged()
Deprecated.
|
void |
onDragEnabledChanged()
Deprecated.
|
void |
removeOnBackingColorChangedListener(ILayoutWidget.OnBackingColorChangedListener l)
Deprecated.
|
void |
removeOnDragEnabledChangedListener(ILayoutWidget.OnDragEnabledChangedListener l)
Deprecated.
|
void |
setAlpha(int alpha)
Deprecated.
Set layout alpha applied to this layout and its children
Calling this will cancel alpha fading
|
void |
setBackingColor(int backingColor)
Deprecated.
Set the background color of this widget
|
void |
setDragEnabled(boolean dragEnabled)
Deprecated.
|
void |
setNinePatchBG(boolean ninePatchBG)
Deprecated.
Set whether this layout should use a medium nine patch as its background
This is the same background used for text widgets
|
addChildWidget, addChildWidgetAt, addOnWidgetListChangedListener, addWidget, addWidgetAt, findWidget, getChildAt, getChildCount, getChildren, getChildWidgetAt, getChildWidgetCount, getChildWidgets, getParent, getSortedChildrenWidgets, getSortedWidgets, onActionBarToggled, onChildWidgetCanBeAdded, onWidgetAdded, onWidgetAdded, onWidgetCanBeAdded, onWidgetRemoved, onWidgetRemoved, orientationChanged, removeChildWidget, removeChildWidgetAt, removeOnWidgetListChangedListener, removeWidget, removeWidgetAt, seekHit, seekWidgetHit, setZOrderaddOnWidgetSizeChangedListener, getSize, onSizeChanged, removeOnWidgetSizeChangedListener, seekHit, testHitaddOnClickListener, addOnHoverListener, addOnLongPressListener, addOnMoveListener, addOnPressListener, addOnUnpressListener, addOnVisibleChangedListener, addOnWidgetPointChangedListener, equals, getAbsolutePath, getAbsolutePosition, getAbsoluteWidgetPosition, getHeight, getMargins, getName, getPadding, getPointX, getPointY, getPropertyValue, getSize, getWidth, getZOrder, hashCode, isEnterable, isTouchable, isVisible, onClick, onClick, onHover, onLongPress, onMove, onMove, onPointChanged, onPress, onPress, onUnpress, onUnpress, onVisibleChanged, registerForwardedListener, removeOnClickListener, removeOnHoverListener, removeOnLongPressListener, removeOnMoveListener, removeOnPressListener, removeOnUnpressListener, removeOnVisibleChangedListener, removeOnWidgetPointChangedListener, setHeight, setMargins, setName, setPadding, setPadding, setParent, setPoint, setSize, setTouchable, setVisible, setWidth, unregisterForwardedListener, visitPropertyInfospublic void setBackingColor(int backingColor)
backingColor - Widget background colorpublic int getBackingColor()
public void setNinePatchBG(boolean ninePatchBG)
ninePatchBG - True to enable nine patch backgroundpublic boolean getNinePatchBG()
public void setAlpha(int alpha)
alpha - Alpha value (0 - 255)public void fadeAlpha(int fromAlpha,
int toAlpha,
int fadeTimeMS)
fromAlpha - Start alpha value (0 - 255)toAlpha - End alpha value (0 - 255)fadeTimeMS - Duration of fade in millisecondspublic boolean isFadingAlpha()
public float getAlpha()
public void setDragEnabled(boolean dragEnabled)
public boolean getDragEnabled()
public final void addOnBackingColorChangedListener(ILayoutWidget.OnBackingColorChangedListener l)
public final void removeOnBackingColorChangedListener(ILayoutWidget.OnBackingColorChangedListener l)
public final void addOnDragEnabledChangedListener(ILayoutWidget.OnDragEnabledChangedListener l)
public final void removeOnDragEnabledChangedListener(ILayoutWidget.OnDragEnabledChangedListener l)
public void onBackingColorChanged()
public void onDragEnabledChanged()