Package totalcross.ui

Class NumericPagePosition

    • Field Detail

      • extra

        public int extra
      • fmw

        public int fmw
    • Constructor Detail

      • NumericPagePosition

        public NumericPagePosition()
    • Method Detail

      • setPosition

        public void setPosition​(int p)
        Description copied from class: PagePosition
        Sets the current position (starting at 1). Invalid values are forced to a valid range.
        Overrides:
        setPosition in class PagePosition
      • setCount

        public void setCount​(int c)
        Description copied from class: PagePosition
        Sets the balls count. Invalid values are forced to a valid range.
        Overrides:
        setCount in class PagePosition
      • onPaint

        public void onPaint​(Graphics g)
        Description copied from class: Control
        Called to draw the control. When this method is called, the graphics object passed has been translated into the coordinate system of the control and the area behind the control has already been painted.
        Overrides:
        onPaint in class PagePosition
        Parameters:
        g - the graphics object for drawing
        See Also:
        Graphics