|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.havi.ui.HScreenConfiguration
public abstract class HScreenConfiguration
The HScreenConfiguration
class describes the characteristics (settings) of an HScreenDevice. There can be many HScreenConfiguration objects
associated with a single HScreenDevice.
HScreenDevice| Method Summary | |
|---|---|
Point |
convertTo(HScreenConfiguration destination,
Point source)
Convert a pixel position from one coordinate system to another without including any rounding errors from passing through normalized coordinates. |
boolean |
getFlickerFilter()
Return whether this configuration includes filtering to reduce interlace flicker. |
boolean |
getInterlaced()
Return whether this configuration is interlaced |
Dimension |
getOffset(HScreenConfiguration hsc)
Returns the offset between the origin of the pixel coordinate space of the specified HScreenConfiguration, and the origin of the current pixel
coordinate space of this HScreenConfiguration. |
Dimension |
getPixelAspectRatio()
Return the pixel aspect ratio of this configuration. |
Dimension |
getPixelResolution()
Return the resolution of this configuration in pixels. |
HScreenRectangle |
getScreenArea()
Return the position and size of this configuration on the screen in screen coordinates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Point convertTo(HScreenConfiguration destination,
Point source)
HScreenConfigurations isn't pixel based or doesn't yet have a
fixed location on the HScreen.
The source position is interpreted in the coordinate system of the HScreenConfiguration object on which this method is called.
destination - the destination HScreenConfiguration.source - the pixel position in this HScreenConfiguration.
public boolean getFlickerFilter()
public boolean getInterlaced()
public Dimension getPixelAspectRatio()
public Dimension getPixelResolution()
public HScreenRectangle getScreenArea()
public Dimension getOffset(HScreenConfiguration hsc)
HScreenConfiguration, and the origin of the current pixel
coordinate space of this HScreenConfiguration. The
offset is returned in the pixel coordinate space of this HScreenConfiguration.
hsc - the HScreenConfiguration to which the offset between pixel origins
should be recovered.
HScreenConfiguration and the current pixel coordinate space of
this HScreenConfiguration. A null object will be returned if there
is insufficient information to recover the pixel offset.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||