|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Image | |
---|---|
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.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.lwuit.util | Utility features that are either too domain specific or don't "fit" into any other packages. |
com.sun.dtv.ui | TV specific UI functionality. |
Uses of Image in com.sun.dtv.lwuit |
---|
Subclasses of Image in com.sun.dtv.lwuit | |
---|---|
class |
StaticAnimation
An Image capable of animation. |
Methods in com.sun.dtv.lwuit that return Image | |
---|---|
static Image |
Image.createImage(byte[] bytes,
int offset,
int len)
Creates an image from a given byte array data. |
static Image |
Image.createImage(Image image)
Creates an image from the java.awt.Image to be wrapped. |
static Image |
Image.createImage(InputStream stream)
Creates an image from an InputStream. |
static Image |
Image.createImage(int[] rgb,
int width,
int height)
Creates an image from an RGB image. |
static Image |
Image.createImage(int width,
int height)
Creates a buffered Image. |
static Image |
Image.createImage(String path)
Creates an image from the given path. |
Image[] |
Label.getAnimateContent(int state)
|
Image[] |
List.getAnimateContent(int state)
|
Image |
Label.getGraphicContent(int state)
|
Image |
List.getGraphicContent(int state)
|
Image |
Command.getIcon()
Returns the icon representing the command. |
Image |
Label.getIcon()
Returns the labels icon. |
Image |
Button.getPressedIcon()
Indicates the icon that is displayed on the button when the button is in pressed state. |
Image |
Button.getRolloverIcon()
Indicates the icon that is displayed on the button when the button is in rolled over state. |
Image |
Image.modifyAlpha(byte alpha)
Creates a new image instance with the alpha channel of opaque/translucent pixels within the image using the new alpha value. |
Image |
Image.modifyAlpha(byte alpha,
Color removeColor)
Creates a new image instance with the alpha channel of opaque/translucent pixels within the image using the new alpha value. |
Image |
Image.rotate(int degrees)
Returns an instance of this image rotated by the given number of degrees. |
Image |
Image.scaled(int width,
int height)
Returns a scaled version of this image using the given width and height, this is a fast algorithm that preserves translucent information. |
Image |
StaticAnimation.scaled(int width,
int height)
Returns a scaled version of this image using the given width and height, this is a fast algorithm that preserves translucent information. |
Image |
Image.scaledHeight(int height)
Scales the image to the given height while updating the width based on the aspect ratio of the height. |
Image |
Image.scaledSmallerRatio(int width,
int height)
Scales the image while maintaining the aspect ratio to the smaller size image. |
Image |
Image.scaledWidth(int width)
Scales the image to the given width while updating the height based on the aspect ratio of the width. |
Image |
Image.subImage(int x,
int y,
int width,
int height,
boolean processAlpha)
Extracts a subimage from the given image allowing us to breakdown a single large image into multiple smaller images in RAM, this actually creates a standalone version of the image for use. |
Methods in com.sun.dtv.lwuit with parameters of type Image | |
---|---|
void |
TabbedPane.addTab(String title,
Image icon,
Component component)
Adds a component
represented by a title and/or icon ,
either of which can be null . |
static Font |
Font.createBitmapFont(Image bitmap,
int[] cutOffsets,
int[] charWidth,
String charsets)
Creates a bitmap font with the given arguments. |
static Font |
Font.createBitmapFont(String name,
Image bitmap,
int[] cutOffsets,
int[] charWidth,
String charsets)
Creates a bitmap font with the given arguments and places said font in the cache. |
void |
Graphics.drawImage(Image img,
int x,
int y)
Draws the image so its top left coordinate corresponds to x/y. |
void |
TabbedPane.insertTab(String title,
Image icon,
Component component,
int index)
Inserts a component , at index ,
represented by a title and/or icon ,
either of which may be null . |
void |
Label.setAnimateContent(Image[] images,
int state)
|
void |
List.setAnimateContent(Image[] images,
int state)
|
void |
Form.setBgImage(Image bgImage)
Sets the background image to show behind the form. |
void |
Label.setGraphicContent(Image image,
int state)
|
void |
List.setGraphicContent(Image image,
int state)
|
void |
Label.setIcon(Image icon)
Sets the Label icon. |
void |
Button.setPressedIcon(Image pressedIcon)
Indicates the icon that is displayed on the button when the button is in pressed state. |
void |
Button.setRolloverIcon(Image rolloverIcon)
Indicates the icon that is displayed on the button when the button is in rolled over state. |
void |
TabbedPane.setTabTitle(String title,
Image icon,
int index)
Updates the information about the tab details. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
String text,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal prompt dialog with the given title and text. |
static boolean |
Dialog.show(String title,
String text,
int type,
Image icon,
String okText,
String cancelText)
Shows a modal prompt dialog with the given title and text. |
static boolean |
Dialog.show(String title,
String text,
int type,
Image icon,
String okText,
String cancelText,
long timeout)
Shows a modal prompt dialog with the given title and text. |
Constructors in com.sun.dtv.lwuit with parameters of type Image | |
---|---|
Button(Image icon)
Constructs a button with the specified image. |
|
Button(String text,
Image icon)
Constructor a button with text and image. |
|
CheckBox(Image icon)
Constructs a checkbox with the given icon. |
|
CheckBox(String text,
Image icon)
Constructs a checkbox with the given text and icon. |
|
Command(String command,
Image icon)
Creates a new instance of Command. |
|
Command(String command,
Image icon,
int id)
Creates a new instance of Command. |
|
Label(Image icon)
Constructs a new label with the specified icon. |
|
RadioButton(Image icon)
Constructs a radio with the given icon. |
|
RadioButton(String text,
Image icon)
Constructs a radio with the given text and icon. |
Uses of Image in com.sun.dtv.lwuit.plaf |
---|
Methods in com.sun.dtv.lwuit.plaf that return Image | |
---|---|
Image |
Style.getBgImage()
Returns the background image for the component. |
Image[] |
LookAndFeel.getMenuIcons()
Simple getter for the menu icons. |
Methods in com.sun.dtv.lwuit.plaf with parameters of type Image | |
---|---|
static Border |
Border.createImageBorder(Image top,
Image topLeft,
Image background)
The given images are tiled appropriately across the matching side of the border, rotated and placed as expected in the four corners. |
static Border |
Border.createImageBorder(Image top,
Image bottom,
Image left,
Image right,
Image topLeft,
Image topRight,
Image bottomLeft,
Image bottomRight,
Image background)
The given images are tiled appropriately across the matching side of the border and placed as expected in the four corners. |
Component |
DefaultLookAndFeel.getTabbedPaneCell(TabbedPane tp,
String text,
Image icon,
boolean isSelected,
boolean cellHasFocus,
Style cellStyle,
Style tabbedPaneStyle,
int cellOffsetX,
int cellOffsetY,
Dimension cellsPreferredSize,
Dimension contentPaneSize)
Draws and return the TabbedPane cell component (renderer) according to each tab orientation, the borders are getting draws. |
abstract Component |
LookAndFeel.getTabbedPaneCell(TabbedPane tp,
String text,
Image icon,
boolean isSelected,
boolean cellHasFocus,
Style cellStyle,
Style tabbedPaneStyle,
int cellOffsetX,
int cellOffsetY,
Dimension cellsPreferredSize,
Dimension contentPaneSize)
Draws and return the TabbedPane cell component (renderer) according to each tab orientation, the borders are getting draws. |
void |
Style.setBgImage(Image bgImage)
Sets the background image for the component. |
void |
Style.setBgImage(Image bgImage,
boolean override)
Sets the background image for the component. |
void |
DefaultLookAndFeel.setCheckBoxImages(Image checked,
Image unchecked)
Sets images for checkbox checked/unchecked modes. |
void |
DefaultLookAndFeel.setComboBoxImage(Image picker)
Sets image for the combo box drop down drawing. |
void |
LookAndFeel.setMenuIcons(Image select,
Image cancel,
Image menu)
Sets globally the Menu icons. |
void |
DefaultLookAndFeel.setRadioButtonImages(Image selected,
Image unselected)
Sets images for radio button selected/unselected modes. |
Constructors in com.sun.dtv.lwuit.plaf with parameters of type Image | |
---|---|
Style(Color fgColor,
Color bgColor,
Color fgSelectionColor,
Color bgSelectionColor,
Font f,
byte transparency,
Image im,
boolean scaledImage)
Creates a new style with the given attributes. |
Uses of Image in com.sun.dtv.lwuit.util |
---|
Methods in com.sun.dtv.lwuit.util that return Image | |
---|---|
Image |
Resources.getImage(String id)
Returns the image resource from the file. |
Uses of Image in com.sun.dtv.ui |
---|
Methods in com.sun.dtv.ui that return Image | |
---|---|
Image |
PlaneSetup.adaptImage(Image input,
boolean dither)
Adapts a given image if necessary in order to gain compatibility with the currently valid PlaneSetup . |
Image[] |
ViewOnlyComponent.getAnimateContent(int state)
Returns the animated content for this component, depending on the current state. |
Image |
DTVContainer.getBackgroundImage()
Get the background image assigned to this DTVContainer if any. |
Image |
ViewOnlyComponent.getGraphicContent(int state)
Returns the graphical content for this component, depending on the current state. |
Image[] |
AnimatedMatte.getImageOpacity()
Gets the opacity value images for this matte, if an image animation has been previously assigned to this matte, null otherwise. |
Image |
StaticMatte.getImageOpacity()
Gets the opacity value image for this matte. |
Methods in com.sun.dtv.ui with parameters of type Image | |
---|---|
Image |
PlaneSetup.adaptImage(Image input,
boolean dither)
Adapts a given image if necessary in order to gain compatibility with the currently valid PlaneSetup . |
void |
PlaneSetup.displayImage(Image image)
Display a (background) image on the associated Plane. |
void |
PlaneSetup.displayImage(Image image,
Rectangle rectangle)
Display an (background) image to cover a particular area of the associated Plane. |
void |
ViewOnlyComponent.setAnimateContent(Image[] images,
int state)
Assigns an array of graphical content to be used for animation to this component which is state-dependent. |
void |
DTVContainer.setBackgroundImage(Image image)
Sets a background image to be painted in the background of the DTVContainer . |
void |
ViewOnlyComponent.setGraphicContent(Image image,
int state)
Assigns graphical content to this component which is state-dependent. |
void |
StaticMatte.setOpacity(Image image)
Sets the opacity of the matte. |
void |
AnimatedMatte.setOpacity(Image[] images)
Sets the opacity of the matte to a row of images causing an animation of changing opacity images. |
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |