Uses of Class
com.sun.lwuit.Graphics

Packages that use Graphics
com.sun.lwuit Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. 
com.sun.lwuit.animations All components are animatable by potential and additional animations (unrelated to a specific component) can be installed on the fly, transitions between forms are also handled as part of this package. 
com.sun.lwuit.impl The implementation package should not be used by developers, it is an internal implementation detail which will break compatibility between major LWUIT releases. 
com.sun.lwuit.painter Painter allows us to draw arbitrary elements of graphics from plain/scaled/tiled images to gradients and pretty much any form of graphic drawing we can imagine. 
com.sun.lwuit.plaf Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look. 
com.sun.lwuit.spinner Spinners allows picking of simple sequential values similarly to combo boxes but of a much wider value set. 
com.sun.lwuit.table Table component for editing and viewing tabular data and arranging LWUIT components in a tabular form  
 

Uses of Graphics in com.sun.lwuit
 

Methods in com.sun.lwuit that return Graphics
 Graphics RGBImage.getGraphics()
          This method is unsupported in this image type
 Graphics IndexedImage.getGraphics()
          Deprecated. This method is unsupported in this image type
 Graphics Image.getGraphics()
          If this is a mutable image a graphics object allowing us to draw on it is returned.
 Graphics EncodedImage.getGraphics()
           
 

Methods in com.sun.lwuit with parameters of type Graphics
protected  void Component.drawDraggedImage(Graphics g, Image img, int x, int y)
          Draws the given image at x/y, this method can be overriden to draw additional information such as positive or negative drop indication
protected  void StaticAnimation.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y)
          Deprecated.  
protected  void RGBImage.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y)
           
protected  void IndexedImage.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y)
          Deprecated.  
protected  void Image.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y)
          Callback invoked internally by LWUIT to draw the image/frame onto the display.
protected  void EncodedImage.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y)
           
protected  void Image.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y, int w, int h)
          Callback invoked internally by LWUIT to draw the image/frame onto the display.
protected  void EncodedImage.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y, int w, int h)
           
 void TextField.paint(Graphics g)
           
 void TextArea.paint(Graphics g)
           
 void TabbedPane.paint(Graphics g)
          Deprecated.  
 void StaticAnimation.paint(Graphics g)
          Deprecated.  
 void RadioButton.paint(Graphics g)
           
 void PeerComponent.paint(Graphics g)
           
 void MediaComponent.paint(Graphics g)
          Deprecated.  
 void List.paint(Graphics g)
           
 void Label.paint(Graphics g)
           
 void Form.paint(Graphics g)
           
 void Container.paint(Graphics g)
           
 void Component.paint(Graphics g)
          This method paints the Component on the screen, it should be overriden by subclasses to perform custom drawing or invoke the UI API's to let the PLAF perform the rendering.
 void ComboBox.paint(Graphics g)
           
 void CheckBox.paint(Graphics g)
           
 void Button.paint(Graphics g)
           
 void Painter.paint(Graphics g, Rectangle rect)
          Draws inside the given rectangle clipping area.
 void Slider.paintBackground(Graphics g)
          Paint the progress indicator
protected  void PeerComponent.paintBackground(Graphics g)
           
protected  void MediaComponent.paintBackground(Graphics g)
          Deprecated.  
 void Form.paintBackground(Graphics g)
          Exposing the background painting for the benefit of animations
 void Container.paintBackground(Graphics g)
           
protected  void Component.paintBackground(Graphics g)
          Paints the background of the component, invoked with the clipping region and appropriate scroll translation.
 void PeerComponent.paintBackgrounds(Graphics g)
           
 void MediaComponent.paintBackgrounds(Graphics g)
          Deprecated.  
 void Component.paintBackgrounds(Graphics g)
          This method paints all the parents Components Background.
protected  void PeerComponent.paintBorder(Graphics g)
           
protected  void Component.paintBorder(Graphics g)
          Draws the component border if such a border exists.
 void Component.paintComponent(Graphics g)
          Paints this component as a root by going to all the parent components and setting the absolute translation based on coordinates and scroll status.
 void Component.paintComponent(Graphics g, boolean background)
          Paints this component as a root by going to all the parent components and setting the absolute translation based on coordinates and scroll status.
protected  void Container.paintGlass(Graphics g)
          This method can be overriden by a component to draw on top of itself or its children after the component or the children finished drawing in a similar way to the glass pane but more refined per component
protected  void PeerComponent.paintScrollbars(Graphics g)
           
protected  void Component.paintScrollbars(Graphics g)
          Paints the UI for the scrollbars on the component, this will be invoked only for scrollable components.
protected  void PeerComponent.paintScrollbarX(Graphics g)
           
protected  void Component.paintScrollbarX(Graphics g)
          Paints the UI for the scrollbar on the X axis, this method allows component subclasses to customize the look of a scrollbar
protected  void PeerComponent.paintScrollbarY(Graphics g)
           
protected  void Component.paintScrollbarY(Graphics g)
          Paints the UI for the scrollbar on the Y axis, this method allows component subclasses to customize the look of a scrollbar
 void M3G.renderM3G(Graphics g, boolean depth, int arguments, M3G.Callback c)
          Deprecated. Binds the Graphics3D object to the current graphics context and invokes callback to perform the rendering.
 

Uses of Graphics in com.sun.lwuit.animations
 

Methods in com.sun.lwuit.animations with parameters of type Graphics
protected  void Timeline.drawImage(Graphics g, java.lang.Object nativeGraphics, int x, int y)
           
 void Transition3D.paint(Graphics g)
           
abstract  void Transition.paint(Graphics g)
           
 void Timeline.paint(Graphics g)
           
 void CommonTransitions.paint(Graphics g)
           
 void Animation.paint(Graphics g)
          Draws the animation, within a component the standard paint method would be invoked since it bares the exact same signature.
 void Timeline.paint(Graphics g, Rectangle rect)
           
 

Uses of Graphics in com.sun.lwuit.impl
 

Methods in com.sun.lwuit.impl that return Graphics
 Graphics LWUITImplementation.getComponentScreenGraphics(Component cmp, Graphics currentContext)
          This method allows customizing/creating a graphics context per component which is useful for some elaborate implementations of LWUIT.
protected  Graphics LWUITImplementation.getLWUITGraphics()
          Returns a graphics object for use by the painting
 

Methods in com.sun.lwuit.impl with parameters of type Graphics
 Graphics LWUITImplementation.getComponentScreenGraphics(Component cmp, Graphics currentContext)
          This method allows customizing/creating a graphics context per component which is useful for some elaborate implementations of LWUIT.
protected  void LWUITImplementation.paintOverlay(Graphics g)
          Allows for painting an overlay on top of the implementation for notices during testing etc.
 void LWUITImplementation.setLWUITGraphics(Graphics g)
          Installs the LWUIT graphics object into the implementation
 

Uses of Graphics in com.sun.lwuit.painter
 

Methods in com.sun.lwuit.painter with parameters of type Graphics
 void PainterChain.paint(Graphics g, Rectangle rect)
           
 void BackgroundPainter.paint(Graphics g, Rectangle rect)
           
 

Uses of Graphics in com.sun.lwuit.plaf
 

Methods in com.sun.lwuit.plaf with parameters of type Graphics
abstract  void LookAndFeel.drawButton(Graphics g, Button b)
          Invoked for drawing a button widget
 void DefaultLookAndFeel.drawButton(Graphics g, Button b)
           
abstract  void LookAndFeel.drawCheckBox(Graphics g, Button cb)
          Invoked for drawing a checkbox widget
 void DefaultLookAndFeel.drawCheckBox(Graphics g, Button cb)
           
abstract  void LookAndFeel.drawComboBox(Graphics g, List cb)
          Invoked for drawing a combo box widget
 void DefaultLookAndFeel.drawComboBox(Graphics g, List cb)
           
 void LookAndFeel.drawHorizontalScroll(Graphics g, Component c, float offsetRatio, float blockSizeRatio)
          Draws a horizontal scroll bar in the given component
abstract  void LookAndFeel.drawLabel(Graphics g, Label l)
          Invoked for drawing a label widget
 void DefaultLookAndFeel.drawLabel(Graphics g, Label l)
           
protected  int DefaultLookAndFeel.drawLabelText(Graphics g, Label l, java.lang.String text, int x, int y, int textSpaceW)
          Draws the text of a label
abstract  void LookAndFeel.drawList(Graphics g, List l)
          Invoked for drawing a list widget
 void DefaultLookAndFeel.drawList(Graphics g, List l)
           
abstract  void LookAndFeel.drawRadioButton(Graphics g, Button rb)
          Invoked for drawing the radio button widget
 void DefaultLookAndFeel.drawRadioButton(Graphics g, Button rb)
           
abstract  void LookAndFeel.drawTabbedPane(Graphics g, TabbedPane tp)
          Deprecated.  
 void DefaultLookAndFeel.drawTabbedPane(Graphics g, TabbedPane tp)
          Deprecated.  
abstract  void LookAndFeel.drawTabbedPaneContentPane(TabbedPane tp, Graphics g, Rectangle rect, Dimension cellsPreferredSize, int numOfTabs, int selectedTabIndex, Dimension tabsSize, int cellOffsetX, int cellOffsetY)
          Deprecated.  
 void DefaultLookAndFeel.drawTabbedPaneContentPane(TabbedPane tp, Graphics g, Rectangle rect, Dimension cellsPreferredSize, int numOfTabs, int selectedTabIndex, Dimension tabsSize, int cellOffsetX, int cellOffsetY)
          Deprecated.  
abstract  void LookAndFeel.drawTextArea(Graphics g, TextArea ta)
          Draw the given text area
 void DefaultLookAndFeel.drawTextArea(Graphics g, TextArea ta)
           
abstract  void LookAndFeel.drawTextField(Graphics g, TextArea ta)
          Draws the text field without its cursor which is drawn in a separate method input mode indication can also be drawn using this method.
 void DefaultLookAndFeel.drawTextField(Graphics g, TextArea ta)
           
abstract  void LookAndFeel.drawTextFieldCursor(Graphics g, TextArea ta)
          Draws the cursor of the text field, blinking is handled simply by avoiding a call to this method.
 void DefaultLookAndFeel.drawTextFieldCursor(Graphics g, TextArea ta)
           
 void LookAndFeel.drawVerticalScroll(Graphics g, Component c, float offsetRatio, float blockSizeRatio)
          Draws a vertical scroll bar in the given component
 void Border.paint(Graphics g, Component c)
          Draws the border for the given component, this method is called before a call to background painting is made.
 void Border.paintBorderBackground(Graphics g, Component c)
          Has effect when the border demands responsibility for background painting normally the painter will perform this work but in this case the border might do it instead.
 void LookAndFeel.paintTensileHighlight(Graphics g, boolean top, int opacity)
          Paints the tensile hightlight image
 void LookAndFeel.setFG(Graphics g, Component c)
          Sets the foreground color and font for a generic component, reuse-able by most component drawing code
 

Uses of Graphics in com.sun.lwuit.spinner
 

Methods in com.sun.lwuit.spinner with parameters of type Graphics
 void Spinner.paint(Graphics g)
           
 

Uses of Graphics in com.sun.lwuit.table
 

Methods in com.sun.lwuit.table with parameters of type Graphics
protected  void Table.paintGlass(Graphics g)