|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Image | |
com.sun.dtv.ui | TV specific UI functionality. |
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
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.util | Utility features that are either too domain specific or don't "fit" into any other packages. |
Uses of Image in com.sun.dtv.ui |
Methods in com.sun.dtv.ui that return Image | |
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 |
DTVContainer.getBackgroundImage()
Get the background image assigned to this DTVContainer if any. |
Image |
PlaneSetup.adaptImage(Image input,
boolean dither)
Adapts a given image if necessary in order to gain compatibility with the currently valid PlaneSetup .
|
Image |
StaticMatte.getImageOpacity()
Gets the opacity value image for this matte. |
Image |
ViewOnlyComponent.getGraphicContent(int state)
Returns the graphical content for this component, depending on the current state. |
Image[] |
ViewOnlyComponent.getAnimateContent(int state)
Returns the animated content for this component, depending on the current state. |
Methods in com.sun.dtv.ui with parameters of type Image | |
void |
AnimatedMatte.setOpacity(Image[] images)
Sets the opacity of the matte to a row of images causing an animation of changing opacity images. |
void |
DTVContainer.setBackgroundImage(Image image)
Sets a background image to be painted in the background of the DTVContainer . |
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. |
Image |
PlaneSetup.adaptImage(Image input,
boolean dither)
Adapts a given image if necessary in order to gain compatibility with the currently valid PlaneSetup .
|
void |
StaticMatte.setOpacity(Image image)
Sets the opacity of the matte. |
void |
ViewOnlyComponent.setGraphicContent(Image image,
int state)
Assigns graphical content to this component which is state-dependent. |
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. |
Uses of Image in com.sun.lwuit |
Subclasses of Image in com.sun.lwuit | |
class |
StaticAnimation
An Image capable of animation. |
Methods in com.sun.lwuit that return Image | |
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 |
Command.getIcon()
Returns the icon representing the command. |
Image |
DebugController.takeScreenshot()
Returns a LWUIT image containing a screen shot of the current UI, this method is not 100% accurate and might cause a refresh and ignore some artifacts such as the ones created during transition. |
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. |
Image |
Image.rotate(int degrees)
Returns an instance of this image rotated by the given number of degrees. |
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. |
static Image |
Image.createImage(String path)
Creates an image from the given path. |
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(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. |
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.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.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 |
Label.getIcon()
Returns the labels icon. |
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. |
Methods in com.sun.lwuit with parameters of type Image | |
void |
Button.setRolloverIcon(Image rolloverIcon)
Indicates the icon that is displayed on the button when the button is in rolled over state. |
void |
Button.setPressedIcon(Image pressedIcon)
Indicates the icon that is displayed on the button when the button is in pressed state. |
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. |
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 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[] 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,
Transition transition)
Shows a modal prompt dialog with the given title and text. |
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 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. |
static Font |
Font.createBitmapFont(Image bitmap,
int[] cutOffsets,
int[] charWidth,
String charsets)
Creates a bitmap font with the given arguments. |
void |
Form.setBgImage(Image bgImage)
Sets the background image to show behind the form. |
void |
Graphics.drawImage(Image img,
int x,
int y)
Draws the image so its top left coordinate corresponds to x/y. |
void |
Label.setIcon(Image icon)
Sets the Label icon. |
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 .
|
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 |
TabbedPane.setTabTitle(String title,
Image icon,
int index)
Updates the information about the tab details. |
Constructors in com.sun.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.lwuit.plaf |
Methods in com.sun.lwuit.plaf that return Image | |
static Image[] |
Accessor.getImages(Border b)
Returns the images of the border. |
Image[] |
LookAndFeel.getMenuIcons()
Simple getter for the menu icons. |
Image |
Style.getBgImage()
Returns the background image for the component. |
Methods in com.sun.lwuit.plaf with parameters of type Image | |
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. |
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. |
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 |
DefaultLookAndFeel.setRadioButtonImages(Image selected,
Image unselected)
Sets images for radio button selected/unselected modes. |
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 |
LookAndFeel.setMenuIcons(Image select,
Image cancel,
Image menu)
Sets globally the Menu icons. |
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. |
Constructors in com.sun.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.lwuit.util |
Methods in com.sun.lwuit.util that return Image | |
Image |
Resources.getImage(String id)
Returns the image resource from the file. |
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |