Java DTV API 1.3
18-Nov-2009

Uses of Class
com.sun.dtv.lwuit.geom.Dimension

Packages that use Dimension
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.geom Contains classes related to geometry locations and calculations such as rectangle and size. 
com.sun.dtv.lwuit.layouts Layout managers allow a Container to arrange its components by a set of rules that would be adapted for specific screen/font sizes. 
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.media.format Control for the Video Format. 
com.sun.dtv.ui TV specific UI functionality. 
 

Uses of Dimension in com.sun.dtv.lwuit
 

Methods in com.sun.dtv.lwuit that return Dimension
protected  Dimension Component.calcPreferredSize()
          Calculates the preferred size based on component content.
 Dimension Component.getPreferredSize()
          Returns the Component Preferred Size, there is no guarantee the Component will be sized at its Preferred Size.
 

Methods in com.sun.dtv.lwuit with parameters of type Dimension
 void Component.setPreferredSize(Dimension d)
          Sets the Component Preferred Size, there is no guarantee the Component will be sized at its Preferred Size.
 void Component.setSize(Dimension d)
          Sets the Component size, this method is exposed for the purpose of external layout managers and should not be invoked directly.
 

Uses of Dimension in com.sun.dtv.lwuit.geom
 

Methods in com.sun.dtv.lwuit.geom that return Dimension
 Dimension Rectangle.getSize()
          Return the dimension of the rectangle.
 

Constructors in com.sun.dtv.lwuit.geom with parameters of type Dimension
Dimension(Dimension d)
          Creates a new instance of Dimension with a predefine dimension.
Rectangle(int x, int y, Dimension size)
          Creates a new instance of Rectangle at position (x, y) and with predefine dimension.
 

Uses of Dimension in com.sun.dtv.lwuit.layouts
 

Methods in com.sun.dtv.lwuit.layouts that return Dimension
 Dimension BorderLayout.getPreferredSize(Container parent)
           
 Dimension BoxLayout.getPreferredSize(Container parent)
           
 Dimension CoordinateLayout.getPreferredSize(Container parent)
           
 Dimension FlowLayout.getPreferredSize(Container parent)
           
 Dimension GridLayout.getPreferredSize(Container parent)
           
 Dimension GroupLayout.getPreferredSize(Container parent)
          Returns the preferred size for the specified container.
abstract  Dimension Layout.getPreferredSize(Container parent)
          Returns the container preferred size.
 

Constructors in com.sun.dtv.lwuit.layouts with parameters of type Dimension
CoordinateLayout(Dimension d)
          This constructor accepts a Dimension object in order to define the aspect ratio of the Container.
 

Uses of Dimension in com.sun.dtv.lwuit.plaf
 

Methods in com.sun.dtv.lwuit.plaf that return Dimension
 Dimension DefaultLookAndFeel.getButtonPreferredSize(Button b)
          Returns the preferred size for the button.
abstract  Dimension LookAndFeel.getButtonPreferredSize(Button b)
          Returns the preferred size for the button.
 Dimension DefaultLookAndFeel.getCheckBoxPreferredSize(CheckBox cb)
          Returns the preferred size for the checkbox.
abstract  Dimension LookAndFeel.getCheckBoxPreferredSize(CheckBox cb)
          Returns the preferred size for the checkbox.
 Dimension DefaultLookAndFeel.getComboBoxPreferredSize(ComboBox cb)
          Returns the preferred size for the combo box.
abstract  Dimension LookAndFeel.getComboBoxPreferredSize(ComboBox box)
          Returns the preferred size for the combo box.
 Dimension DefaultLookAndFeel.getLabelPreferredSize(Label l)
          Returns the preferred size for the label.
abstract  Dimension LookAndFeel.getLabelPreferredSize(Label l)
          Returns the preferred size for the label.
 Dimension DefaultLookAndFeel.getListPreferredSize(List l)
          Returns the preferred size for the list.
abstract  Dimension LookAndFeel.getListPreferredSize(List l)
          Returns the preferred size for the list.
 Dimension DefaultLookAndFeel.getMonthViewPreferredSize(Component mv)
          Returns the preferred size for the month view component.
abstract  Dimension LookAndFeel.getMonthViewPreferredSize(Component mv)
          Returns the preferred size for the month view component.
 Dimension DefaultLookAndFeel.getRadioButtonPreferredSize(RadioButton rb)
          Returns the preferred size for the radio button.
abstract  Dimension LookAndFeel.getRadioButtonPreferredSize(RadioButton rb)
          Returns the preferred size for the radio button.
 Dimension DefaultLookAndFeel.getTextAreaPreferredSize(TextArea ta)
          Returns the preferred size for the text area.
abstract  Dimension LookAndFeel.getTextAreaPreferredSize(TextArea ta)
          Returns the preferred size for the text area.
 Dimension DefaultLookAndFeel.getTextFieldPreferredSize(TextField ta)
          Returns the preferred size for the text field.
abstract  Dimension LookAndFeel.getTextFieldPreferredSize(TextField tf)
          Returns the preferred size for the text field.
 

Methods in com.sun.dtv.lwuit.plaf with parameters of type Dimension
 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.
 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.
 

Uses of Dimension in com.sun.dtv.media.format
 

Methods in com.sun.dtv.media.format that return Dimension
 Dimension VideoPresentationControl.getActualVideoSize()
          This method allows the application to query the actual dimension of the presented video.
 Dimension VideoPresentationControl.getDecodedVideoSize()
          Returns the dimension of the size of the decoded video as it is presented to the user.
 Dimension VideoPresentationControl.getInputSize()
          Returns the dimension of the video before any scaling, clipping and decoding.
 

Uses of Dimension in com.sun.dtv.ui
 

Methods in com.sun.dtv.ui that return Dimension
 Dimension DefaultTextLayoutManager.getMaximumSize(ViewOnlyComponent component, String text)
           
 Dimension SophisticatedTextLayoutManager.getMaximumSize(ViewOnlyComponent component, String text)
           
 Dimension TextLayoutManager.getMaximumSize(ViewOnlyComponent component, String text)
          Provides the maximum size required to render the provided text content in the specified ViewOnlyComponent.
 Dimension DefaultTextLayoutManager.getMaximumSize(ViewOnlyComponent component, String text, Insets insets)
           
 Dimension SophisticatedTextLayoutManager.getMaximumSize(ViewOnlyComponent component, String text, Insets insets)
           
 Dimension TextLayoutManager.getMaximumSize(ViewOnlyComponent component, String text, Insets insets)
          Provides the maximum size required to render the provided text content in the specified ViewOnlyComponent.
 Dimension DefaultTextLayoutManager.getMinimumSize(ViewOnlyComponent component, String text)
           
 Dimension SophisticatedTextLayoutManager.getMinimumSize(ViewOnlyComponent component, String text)
           
 Dimension TextLayoutManager.getMinimumSize(ViewOnlyComponent component, String text)
          Provides the minimum size required to render the provided text content in the specified ViewOnlyComponent.
 Dimension DefaultTextLayoutManager.getMinimumSize(ViewOnlyComponent component, String text, Insets insets)
           
 Dimension SophisticatedTextLayoutManager.getMinimumSize(ViewOnlyComponent component, String text, Insets insets)
           
 Dimension TextLayoutManager.getMinimumSize(ViewOnlyComponent component, String text, Insets insets)
          Provides the minimum size required to render the provided text content in the specified ViewOnlyComponent.
 Dimension StaticMatte.getOffset()
          Obtains the offset the image matte has relatively to the top left corner of the component's area.
 Dimension AnimatedMatte.getOffset(int index)
          Obtains the offset the image matte has relatively to the top left corner of the component's area for a certain position within the animation.
 Dimension PlaneSetup.getOffset(PlaneSetup setup)
          Returns the offset between the origin of the pixel coordinate space of the specified PlaneSetup, and the origin of the current pixel coordinate space of this PlaneSetup.
 Dimension PlaneSetup.getPixelAspectRatio()
          Return the pixel aspect ratio of this setup.
 Dimension PlaneSetup.getPixelResolution()
          Return the resolution of this setup in pixels.
 Dimension PlaneSetup.getPlaneAspectRatio()
          Return the aspect ratio of this setup as far as is known.
 Dimension DefaultTextLayoutManager.getPreferredSize(ViewOnlyComponent component, String text)
           
 Dimension SophisticatedTextLayoutManager.getPreferredSize(ViewOnlyComponent component, String text)
           
 Dimension TextLayoutManager.getPreferredSize(ViewOnlyComponent component, String text)
          Provides the preferred size required to render the provided text content in the specified ViewOnlyComponent.
 Dimension DefaultTextLayoutManager.getPreferredSize(ViewOnlyComponent component, String text, Insets insets)
           
 Dimension SophisticatedTextLayoutManager.getPreferredSize(ViewOnlyComponent component, String text, Insets insets)
           
 Dimension TextLayoutManager.getPreferredSize(ViewOnlyComponent component, String text, Insets insets)
          Provides the preferred size required to render the provided text content in the specified ViewOnlyComponent.
 Dimension Screen.getScreenAspectRatio()
          Returns the aspect ratio of this Screen.
 Dimension PlaneSetup.getScreenResolution()
          Return the current screen resolution of this setup i.e. 960 x 540, 1920 x 1080, etc.
 Dimension[] Capabilities.getSupportedPixelAspectRatios()
          Provide all pixel aspect ratios supported by the plane associated with this instance of Capabilities.
 Dimension[] Capabilities.getSupportedPlaneAspectRatios()
          Provide all plane aspect ratios supported by the plane associated with this instance of Capabilities.
 Dimension[] Capabilities.getSupportedScreenResolutions()
          Provide all screen sizes supported by the plane associated with this instance of Capabilities.
 

Methods in com.sun.dtv.ui with parameters of type Dimension
 void StaticMatte.setOffset(Dimension d)
          Determines the offset for the opacity image to be assigned with this matte.
 void AnimatedMatte.setOffset(int index, Dimension dimension)
          Determines the offset for the opacity image to be assigned with this matte for a certain position in the animation.
 


Java DTV API 1.3
18-Nov-2009

Copyright © 2008-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Use of this document is subject to license terms.