Package 

Class TextLabelWidget

  • All Implemented Interfaces:
    com.androidplot.ui.BoxModelable , com.androidplot.ui.Resizable

    
    public class TextLabelWidget
    extends Widget
                        
    • Method Summary

      Modifier and Type Method Description
      String getText()
      void setText(String text)
      Paint getLabelPaint()
      void setLabelPaint(Paint labelPaint)
      TextOrientation getOrientation()
      void setOrientation(TextOrientation orientation)
      void setAutoPackEnabled(boolean autoPackEnabled)
      void onPostInit() Can be overridden by subclasses to handle any final resizing etc.
      void pack() Sets the dimensions of the widget to exactly contain the text contents
      void doOnDraw(Canvas canvas, RectF widgetRect) Do not call this method directly.
      boolean isAutoPackEnabled()
      • Methods inherited from class com.androidplot.ui.widget.Widget

        calculateCoordinates, containsPoint, draw, getAnchor, getAnchorCoordinates, getAnchorCoordinates, getAnchorOffset, getBackgroundPaint, getBorderPaint, getHeightMetric, getHeightPix, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginatedRect, getPaddedRect, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPositionMetrics, getRotation, getSize, getWidgetDimensions, getWidthMetric, getWidthPix, isClippingEnabled, isVisible, layout, position, position, refreshLayout, setAnchor, setBackgroundPaint, setBorderPaint, setClippingEnabled, setHeight, setHeight, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMargins, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPositionMetrics, setRotation, setSize, setVisible, setWidth, setWidth
      • Methods inherited from class com.androidplot.ui.BoxModelable

        getMarginatedRect, getPaddedRect, setMarginBottom
      • Methods inherited from class com.androidplot.ui.Resizable

        layout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait