|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Packages that use Graphics | |
---|---|
com.sun.dtv.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.dtv.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.dtv.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.dtv.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.dtv.ui | TV specific UI functionality. |
Uses of Graphics in com.sun.dtv.lwuit |
---|
Methods in com.sun.dtv.lwuit that return Graphics | |
---|---|
Graphics |
Image.getGraphics()
If this is a mutable image a graphics object allowing us to draw on it is returned. |
Methods in com.sun.dtv.lwuit with parameters of type Graphics | |
---|---|
abstract void |
Font.drawChar(Graphics g,
char character,
int x,
int y)
Draw the given char using the current font and color in the x,y coordinates. |
void |
Button.paint(Graphics g)
|
void |
Calendar.paint(Graphics g)
|
void |
CheckBox.paint(Graphics g)
|
void |
ComboBox.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 |
Container.paint(Graphics g)
|
void |
Form.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 |
Label.paint(Graphics g)
|
void |
List.paint(Graphics g)
|
void |
MediaComponent.paint(Graphics g)
|
void |
RadioButton.paint(Graphics g)
|
void |
StaticAnimation.paint(Graphics g)
|
void |
TabbedPane.paint(Graphics g)
|
void |
TextArea.paint(Graphics g)
|
void |
TextField.paint(Graphics g)
|
void |
Painter.paint(Graphics g,
Rectangle rect)
Draws inside the given rectangle clipping area. |
void |
Form.paintBackground(Graphics g)
Exposing the background painting for the benefit of animations. |
void |
Component.paintBackgrounds(Graphics g)
This method paints all the parents Components Background. |
void |
MediaComponent.paintBackgrounds(Graphics g)
|
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. |
Uses of Graphics in com.sun.dtv.lwuit.animations |
---|
Methods in com.sun.dtv.lwuit.animations with parameters of type Graphics | |
---|---|
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 |
CommonTransitions.paint(Graphics g)
|
abstract void |
Transition.paint(Graphics g)
|
Uses of Graphics in com.sun.dtv.lwuit.painter |
---|
Methods in com.sun.dtv.lwuit.painter with parameters of type Graphics | |
---|---|
void |
BackgroundPainter.paint(Graphics g,
Rectangle rect)
|
void |
PainterChain.paint(Graphics g,
Rectangle rect)
|
Uses of Graphics in com.sun.dtv.lwuit.plaf |
---|
Methods in com.sun.dtv.lwuit.plaf with parameters of type Graphics | |
---|---|
void |
DefaultLookAndFeel.drawButton(Graphics g,
Button b)
Invoked for drawing a button widget. |
abstract void |
LookAndFeel.drawButton(Graphics g,
Button b)
Invoked for drawing a button widget. |
void |
DefaultLookAndFeel.drawCheckBox(Graphics g,
CheckBox cb)
Invoked for drawing a checkbox widget. |
abstract void |
LookAndFeel.drawCheckBox(Graphics g,
CheckBox cb)
Invoked for drawing a checkbox widget. |
void |
DefaultLookAndFeel.drawComboBox(Graphics g,
ComboBox cb)
Invoked for drawing a combo box widget. |
abstract void |
LookAndFeel.drawComboBox(Graphics g,
ComboBox cb)
Invoked for drawing a combo box widget. |
void |
LookAndFeel.drawHorizontalScroll(Graphics g,
Component c,
float offsetRatio,
float blockSizeRatio)
Draws a horizontal scroll bar in the given component. |
void |
DefaultLookAndFeel.drawLabel(Graphics g,
Label l)
Invoked for drawing a label widget. |
abstract void |
LookAndFeel.drawLabel(Graphics g,
Label l)
Invoked for drawing a label widget. |
void |
DefaultLookAndFeel.drawList(Graphics g,
List l)
Invoked for drawing a list widget. |
abstract void |
LookAndFeel.drawList(Graphics g,
List l)
Invoked for drawing a list widget. |
void |
DefaultLookAndFeel.drawMonthView(Graphics g,
Calendar cal,
Component mv)
Invoked for drawing a month view widget. |
abstract void |
LookAndFeel.drawMonthView(Graphics g,
Calendar cal,
Component mv)
Invoked for drawing a month view widget. |
void |
DefaultLookAndFeel.drawRadioButton(Graphics g,
RadioButton rb)
Invoked for drawing the radio button widget. |
abstract void |
LookAndFeel.drawRadioButton(Graphics g,
RadioButton rb)
Invoked for drawing the radio button widget. |
void |
DefaultLookAndFeel.drawTabbedPane(Graphics g,
TabbedPane tp)
Invoked for drawing the Tab Pane widget. |
abstract void |
LookAndFeel.drawTabbedPane(Graphics g,
TabbedPane tp)
Invoked for drawing the Tab Pane widget. |
void |
DefaultLookAndFeel.drawTabbedPaneContentPane(TabbedPane tp,
Graphics g,
Rectangle rect,
Dimension cellsPreferredSize,
int numOfTabs,
int selectedTabIndex,
Dimension tabsSize,
int cellOffsetX,
int cellOffsetY)
Draws and return the TabbedPane content pane painter. |
abstract void |
LookAndFeel.drawTabbedPaneContentPane(TabbedPane tp,
Graphics g,
Rectangle rect,
Dimension cellsPreferredSize,
int numOfTabs,
int selectedTabIndex,
Dimension tabsSize,
int cellOffsetX,
int cellOffsetY)
Draws and return the TabbedPane content pane painter. |
void |
DefaultLookAndFeel.drawTextArea(Graphics g,
TextArea ta)
Invoked for drawing the text area widget. |
abstract void |
LookAndFeel.drawTextArea(Graphics g,
TextArea ta)
Invoked for drawing the text area widget. |
void |
DefaultLookAndFeel.drawTextField(Graphics g,
TextField ta)
Draws the text field without its cursor which is drawn in a separate method. |
abstract void |
LookAndFeel.drawTextField(Graphics g,
TextField tf)
Draws the text field without its cursor which is drawn in a separate method. |
void |
DefaultLookAndFeel.drawTextFieldCursor(Graphics g,
TextField ta)
Draws the cursor of the text field, blinking is handled simply by avoiding a call to this method. |
abstract void |
LookAndFeel.drawTextFieldCursor(Graphics g,
TextField tf)
Draws the cursor of the text field, blinking is handled simply by avoiding a call to this method. |
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.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.dtv.ui |
---|
Methods in com.sun.dtv.ui with parameters of type Graphics | |
---|---|
void |
AnimatedMatte.paint(Graphics g)
Draws the animation, within a component the standard paint method would be invoked since it bares the exact same signature. |
void |
DTVContainer.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 |
ViewOnlyComponent.paint(Graphics g)
Method to paint the component. |
void |
DefaultTextLayoutManager.render(String text,
Graphics g,
ViewOnlyComponent component,
Insets insets)
Render a string. |
void |
SophisticatedTextLayoutManager.render(String text,
Graphics g,
ViewOnlyComponent component,
Insets insets)
Render a string. |
void |
TextLayoutManager.render(String text,
Graphics g,
ViewOnlyComponent component,
Insets insets)
Render a string. |
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |