|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Component
class as a special
variant, which delegates painting to a wrapped java.awt.Component
.
AWTComponent
, wrapping
the specified java.awt.Component
.
ActionListener
callback is invoked.AlphaComposite
class implements all alpha
compositing rules for combining source and destination pixels to achieve
blending and transparency effects with graphics and images.
PlaneSetup
.
Group
.
Component
.
Group
as a child of this group.
Component
.
Group
to this
SequentialGroup
.
Group
to this Group
.
Component
to this Group
.
Component
.
Component
to this Group
with the specified size.
Screen
.
BroadcastFileListener
to receive
notifications of changes to this BroadcastFile
.
BroadcastEventListener
to receive
notifications of received BroadcastReceivedEvent
.
filter
.
mediaTimeListener
to the Control, the player will raise an event with
if the media reaches the given Time
, the event will have the ID that is given back
during the registration process for easier identification and management on the application level
The system is responsible to raise the event as close as possible to the given Time
.
Screen
.
PlaneSetupListener
to
this plane.
PlaneSetupListener
to
this plane.
Screen
.
ResourceTypeListener
to the implementation.
ResourceTypeListener
to the implementation.
ResourceTypeListener
to the implementation
ResourceTypeListener
to the implementation.
ResourceTypeListener
to the implementation.
ResourceTypeListener
to the implementation.
ResourceTypeListener
to the implementation.
ResourceTypeListener
to the implementation.
Screen
to this Device
.
FilterEventListener
to receive events of the
DataSectionFilter
object.
component
represented by a title
and/or icon
,
either of which can be null
.
component
represented by a title
and no icon
.
TextOverflowListener
.
Component
to this DTVContainer
behind all previously added
components.
Component
to this DTVContainer
directly in front of all
previously added components.
UserInputEvent
specified.
DTVContainer
.
setBackgroundMode
method.
setBackgroundImageRenderMode
method.
setBackgroundImageRenderMode
method.
setBackgroundImageRenderMode
method.
setBackgroundImageRenderMode
method.
setBackgroundMode
method.
BroadcastEventListener
interface is implemented by
application classes which require notification of received
BroadcastEvent
data.BroadcastEventManager
class represents
events obtained from broadcast file systems. BroadcastEventManager
instance that represents the events
referenced by the given Locator
.
BroadcastEventManager
instance that represents the
events whose path name in the broadcast is the given path argument.
java.io.IOException
in order to make different reason easier to distinguish.BroadcastFile
class represents
file or directory data obtained from broadcast file systems.
BroadcastFile
instance that represents the file
referenced by the given Locator
.
BroadcastFile
instance that represents the
file whose path name in the broadcast is the given path argument.
BroadcastFile
instance that represents the
file with the specified name in the specified broadcast directory.
BroadcastFile
instance that represents the
file with the specified name in the specified broadcast directory.
BroadcastFileEvent
provides notification of
a change to BroadcastFile
data.BroadcastFileEvent
indicating that
the specified BroadcastFile
has changed.
BroadcastFileListener
interface is implemented by
application classes which require notification of changes to
BroadcastFile
data.BroadcastFileEvent
indicating that
the specified BroadcastFile
has changed.
BroadcastStream
class represents
stream obtained from broadcast file systems. BroadcastStream
instance that represents the file
referenced by the given Locator
.
BroadcastStream
instance that represents the
stream whose path name in the broadcast is the given path argument.
BroadcastStream
instance that represents the
stream with the specified name in the specified broadcast directory.
BroadcastStream
instance that represents the
stream with the specified name in the specified broadcast directory.
BroadcastFileListener
that the
BroadcastFile
has changed in the broadcast.
BroadcastFileListener
that the
BroadcastFile
has been lost from the broadcast.
DataSectionFilterCollection
.
setTimeOut()
method.
DataSectionFilterCollection
gets disconnected or becomes unavailable, causing filtering to stop.
ListFilter
to report that a section has been
encountered which has a different version_number from earlier sections.
PlaneSetupPattern.setPreference(int, int)
and PlaneSetupPattern.getPriority(int)
methods in
the PlaneSetupPattern
.
CardTerminal
.AlphaComposite
object that implements the opaque CLEAR
rule with an alpha of 1.0f.
ConditionalAccessDeniedException
with no
detail message.
ConditionalAccessDeniedException
with the
specified detail message.
Component
, allows nesting and arranging multiple
components using a pluggable layout manager architecture. FlowLayout
.
Dimension
object
in order to define the aspect ratio of the Container.
CardTerminalEvent
to the listener.
DataSection
object.
java.io
package by providing access rights
and properties to files.java.net
package with extensive
communication device control.Container
to
arrange its components by a set of rules that would be adapted for specific
screen/font sizes. ComboBox
and
other components (such as carousels etc) they employ a similar MVC approach to
Swing including the renderer pattern. 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. device
has been connected.
device
could not connect for some reason.
java.awt.event.WindowEvents
for this DTVContainer
.
Buffer
into this
Buffer
.
Buffer
into this
Buffer
.
dx
and dy
parameters.
ParallelGroup
that aligns its
elements along the baseline.
java.awt.Image
to be wrapped.
ParallelGroup
with a
LEADING
alignment.
ParallelGroup
.
ParallelGroup
.
SequentialGroup
.
device
if it has
changed since the last report.
setLineSpace
method of SophisticatedTextLayoutManager
.
setPreference
and getPriority
methods in the PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
DTVContainer
is the top-level container in the
DTV API's component hierarchy, representing the widget containing anything
else viewable at on particular Plane
.
DTVContainerPattern
is a means
to describe the characteristics of a valid DTVContainer
. setPreference
, getPreferenceValue
and getPriority
methods in the DTVContainerPattern
.
setPreference
, getPreferenceValue
and getPriority
methods in the DTVContainerPattern
.
setPreference
, getPreferenceValue
and getPriority
methods in the DTVContainerPattern
.
ListModel
changes its state thus indicating to the view that it should refresh.DataSectionAvailableEvent
for the
specified DataSectionFilter
.
DataSectionFilterEvent
for the specified
DataSectionFilter
object.
DataSectionFilterException
.
DataSectionFilterException
with a
detailed message.
DataSection
object.DataUnavailableException
with no
detail message.
DataUnavailableException
with the
specified detail message.
ListCellRenderer
for more information about the use and purpose of this class.TextLayoutManager
interface.
java.awt.Dimension
.
DataSectionFilterCollection
has lost its connection
causing a startFiltering
call to fail. DisconnectedException
.
DisconnectedException
with a detailed message.
DripFeedControl
. AlphaComposite
object that implements the opaque DST
rule with an alpha of 1.0f.
AlphaComposite
object that implements the opaque DST_ATOP
rule with an alpha of 1.0f.
AlphaComposite
object that implements the opaque DST_IN
rule with an alpha of 1.0f.
AlphaComposite
object that implements the opaque DST_OUT
rule with an alpha of 1.0f.
AlphaComposite
object that implements the opaque DST_OVER
rule with an alpha of 1.0f.
Buffer
.
Font
described by the argument.
DataSectionFilterCollection
to the disconnected
state.
device
has been disconnected.
DTVContainer
.
Locator
with the specified object for
equality.
UserPropertyPermission
objects for equality.
AlphaComposite
.
Font
object to the specified.
exit()
function for the main()
of
tests to exit in such a way that the report passes up across process
boundaries without losing information, that is: exit codes don't give
the associated text of the report and return codes when exceptions are
thrown could cause unintended results.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
FileAccessRights
object with the specified
actions.
FilterInterruptException
.
FilterInterruptException
with a
detailed message.
FilterResourceUnavailableException
.
FilterResourceUnavailableException
with
a detailed message.
setTimeOut()
method.
FilterTimedOutEvent
for the supplied
DataSectionFilter
.
SimpleSectionFilter
under
normal circumstances (i.e. after one section has successfully been filtered).FilteringStoppedEvent
for the specified DataSectionFilter
object.
FilteringStoppedEvent
for the specified DataSectionFilter
object.
Container
handles the menus and title while placing content between them. Buffer
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
GroupLayout
: laying out components one
after another (SequentialGroup
) or layout on top
of each other (ParallelGroup
). Group
that lays out its elements on top of each
other. Group
that lays out its elements sequentially, one
after another. java.awt.Font
object wrapped by this
Font
instance.
java.awt.Graphics2D
object wrapped by this
Graphics
instance.
java.awt.Image
wrapped by this Image
.
AppFilter
.
AlphaComposite
.
appId
as a string.
appId
.
AppFilter
.
Font
.
DataSection
object contains valid data.
Screens
in this system.
DTVContainer
if any.
setBackgroundImageRenderMode
method.
setBackgroundMode
method.
DTVContainer
that best
corresponds to the input DTVContainerPattern
, or null if such an DTVContainer
cannot be found.
DTVContainerPattern
closest to to the input DTVContainerPattern
and at the same time specifying a DTVContainer
which could be successfully
created on the underlying platform at the time this method is called.
PlaneSetupPattern
or null.
PlaneSetupPattern
objects within the array argument or null
.
PlaneSetup
from an
Plane
which is present on
this Screen
that best matches at least one
of the specified PlaneSetupPatterns
.
Capabilities
.
BroadcastFile
whose contents have changed.
BroadcastFileSystem
this
BroadcastFile
belongs to.
BroadcastFileSystem
this
BroadcastStream
belongs to.
Callback
.
Capabilities
object associated with
this Plane
.
CardTerminal
object where this event occurred.
PlaneSetups
matching a set of patterns.
Capabilities
.
null
if the device is not connected.
DTVContainer
the caller
is displayed within.
Plane
the caller
is displayed on.
Screen
the caller
is displayed on.
PlaneSetup
for this Plane
.
BroadcastStream
.
DTVContainer
for the
specified Plane
.
DTVContainer
for the
specified Plane
, which can
be used as an Xlet container.
DTVContainerPattern
describing this DTVContainer
.
BroadcastReceivedEvent
.
Buffer
.
Screen
for this
device.
Screen
for this
application.
PlaneSetup
associated with this Plane
.
BroadcastStream
.
BroadcastReceivedEvent
.
OVERLAY_TEXT__*
constant values defined
in this interface.
Font
.
Buffer
.
Component
contained by this DTVContainer
which currently owns the input
focus.
Font
appropriate to this attribute set.
Font
object from the system properties
list.
Font
from the system.
Group
that is responsible for
layout along the horizontal axis.
Plane's
identification string.
BroadcastReceivedEvent
.
UserInputDevice.getInitiatedEvent(int)
defined in UserInputDevice
.
UserInputDevice.getInitiatedEvent(int)
defined in UserInputDevice
.
setInsets
method.
AlphaComposite
object with the specified rule.
AlphaComposite
object with the specified rule
and the constant alpha to multiply with the alpha of the source.
Device
instance representing the
used TV device from the implementation.
NetworkDevice
resource available on the platform that
meet the criteria defined by type
.
Tuner
resource available on the platform corresponding
* to the network interfaces which may be used for tuning.
Plane
, whether they are already reserved or not.
Screen
, whether they are already reserved or not.
KeyEvent
, whether they are already reserved or
not.
MouseEvent
,
whether they are already reserved or not.
RemoteControlEvent
, whether they are already
reserved or not.
name
in the given application namespace for the purpose of inter-xlet
communication (IXC) within a given scope.
Buffer
.
Locator
identifying this
BroadcastFile
.
Locator
identifying this
BroadcastStream
.
Locator
identifying this
BroadcastEvent
.
Matte
currently associated with the
component implementing this interface.
Matte
currently associated with the
component.
ViewOnlyComponent
.
ViewOnlyComponent
.
MediaLocator
representation if this
instance is a locator to a TransportStream
or an
ElementaryStream
in a format which is supported by
the JMF implementation.
MediaTimeEvent
object can differ from the
time the event was registered to therefore the actual
Time
object carries the
time the event was actually raised by the Controller.
ViewOnlyComponent
.
ViewOnlyComponent
.
BroadcastReceivedEvent
.
Font
.
null
otherwise.
VideoFormatControl
for the Active Format.
VideoFormatControl
for the Aspect Ratio.
Buffer
.
PlaneSetup
, and the origin
of the current pixel coordinate space of this PlaneSetup
.
PlaneSetupPattern
object that describes and identifies this PlaneSetup
.
Plane
associated with this
PlaneSetup
.
ViewOnlyComponent
.
ViewOnlyComponent
.
filter
and for which the application has
read
access right.
AlphaComposite
.
Screen
in screen coordinates.
Screens
associated
with this Device
.
DataSection
object describing a section which matched the active filter definition.
DataSection
object.
DataSection
array for the CircularFilter
The application needs to verify which objects contain valid data.
DataSection
objects corresponding to the sections
of the table.
PlaneSetup
objects
associated with this Plane
.
LayoutStyle
object appropriate for the current look and feel.
DataSectionFilter
object filtered the
section data.
DataSectionFilterCollection
is currently
connected.
DataSectionFilter
object which was
the source of the event.
Capabilities
.
Capabilities
.
Capabilities
.
UserInputDevices
that are associated to this Screen
.
index
.
tabbedpane
.
BroadcastReceivedEvent
.
UserInputEventManager
for the specified Screen
.
ParallelGroup
that is responsible for
layout along the vertical axis.
startFiltering
method.
setHorizontalAlignment
method of SophisticatedTextLayoutManager
.
setHorizontalAlignment
method of ViewOnlyComponent
.
setHorizontalAlignment
method of SophisticatedTextLayoutManager
.
setHorizontalAlignment
method of ViewOnlyComponent
.
setHorizontalAlignment
method of SophisticatedTextLayoutManager
.
setHorizontalAlignment
method of ViewOnlyComponent
.
setHorizontalAlignment
method of SophisticatedTextLayoutManager
.
setHorizontalAlignment
method of ViewOnlyComponent
.
Locator
.
Font
.
setPreference
and getPriority
methods in the PlaneSetupPattern
.
setPreference
and getPriority
methods in the PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
Image
out of the
java.awt.Image
to be wrapped.
IncompatibleSourceException
.
IncompatibleSourceException
with a
detailed message.
InvalidFilterException
.
InvalidFilterException
with a
detailed message.
FileAccessRights
object "implies" the
specified access rights.
DripFeePermisson
is "implied" by this object.
NetworkDevicePermission
object "implies" the
specified permission.
UserPropertyPermission
object "implies" the
specified permission.
component
, at index
,
represented by a title
and/or icon
,
either of which may be null
.
Capabilities
.
Font
is BOLD.
true
if the network device has been connected
using the connect()
method.
DTVContainer
are automatically double buffered.
Capabilities
.
Capabilities
.
Capabilities
.
Font
is ITALIC.
Capabilities
.
DTVContainer
as given by the
Component.getBounds()
method, is fully opaque.
com.sun.lwuit.Component#getBounds
method, is opaque.
Capabilities
.
Font
is PLAIN.
Capabilities
.
PlaneSetup
can be used to create a background plane that supports
the features set in this pattern.
Capabilities
.
DTVContainer
is shown or hidden.
Capabilities
.
KeyEvent
class by
implementing the UserInputEvent
interface.
ActionListener
.Screen
as an UserInputDevice
.setLineOrientation
method of SophisticatedTextLayoutManager
.
setLineOrientation
method of SophisticatedTextLayoutManager
.
ListCellRenderer
and are extracted via the ListModel
.
BroadcastFile
object.
path
.
setPreference
and getPriority
methods in the PlaneSetupPattern
.
MatteEnabled
interface.javax.media.Player
has transfered
into the Started sate. Screen
as an UserInputDevice
.MouseEvent
class by
implementing the UserInputEvent
interface.
ActionListener
.appId
for the application with the
indicated organization id and application id.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
NetworkDevicePermission
object with the
specified name and actions.
PermissionCollection
object for storing
UserPropertyPermission
objects.
SophisticatedTextLayoutManager
if a text string won't fit into
a component during an attempt to render it.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
Screen
class represents one
video output signal of a TV device. Plane
.
PlaneSetup
class is capable to
describe the characteristics of a Plane
. PlaneSetupListeners
when an Plane
modifies its setup.PlaneSetupEvent
.
Plane
is modified.Point
object.
BACKGROUND_FILL
, the whole
area of the DTVContainer is filled with the current background color first.
Component
one level up in the
Z-order.
Component
move
directly in front of the Component
behind
.
Component
to the front of the
Z-order in this DTVContainer
.
key
has changed from oldValue
to newValue
.
key
has been
removed from the user properties.
Component
one level down in the
Z-order.
Component
move
directly behind the Component
front
.
Component
to the back of the
Z-order in this DTVContainer
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
Button
that maintains a selection state exclusively
within a specific ButtonGroup
.Dimension
(width, height),
this is useful for measuring coordinates within the application.Point
parameter, and with the predefined
width and height.
java.awt.Rectangle
.
Screen
as an UserInputDevice
.
KeyEvent
class by adding
TV remote specific key codes.BroadcastEventListener
that the
BroadcastEvent
has been received in the broadcast.
BroadcastFile
be
updated with the version currently in the broadcast stream.
The resource will be made available to another application across
the platform. After calling this method, it is no more possible to
interact with the given resource: calls to critical methods of that
scarce resource must be ignored and may
throw IllegalStateException
. This assertion is valid and
the behavior required for any class implementing the
ScarceResource
interface. In order to interact
again with the given resource, the application must call the
reserve()
method and become the owner again.
The implementation may dispose any system resources that this object is using. After the implementation must not call any of the methods of the listener that was attached at reservation time.
If the resource was already available (i.e. not reserved), this method does nothing.
The resource will be made available to another application across
the platform. After calling this method, it is no more possible to
interact with the given resource: calls to critical methods of that
scarce resource must be ignored and may
throw IllegalStateException
. This assertion is valid and
the behavior required for any class implementing the
ScarceResource
interface. In order to interact
again with the given resource, the application must call the
reserve()
method and become the owner again.
The implementation may dispose any system resources that this object is using. After the implementation must not call any of the methods of the listener that was attached at reservation time.
If the resource was already available (i.e. not reserved), this method does nothing.
In the case the network device is connected when this method is being called, the implementation must call implicitlyNetworkDevice.disconnect()
before returning.
The resource will be made available to another application across
the platform. After calling this method, it is no more possible to
interact with the given resource: calls to critical methods of that
scarce resource must be ignored and may
throw IllegalStateException
. This assertion is valid and
the behavior required for any class implementing the
ScarceResource
interface. In order to interact
again with the given resource, the application must call the
reserve()
method and become the owner again.
The implementation may dispose any system resources that this object is using. After the implementation must not call any of the methods of the listener that was attached at reservation time.
If the resource was already available (i.e. not reserved), this method does nothing.
The resource will be made available to another application across
the platform. After calling this method, it is no more possible to
interact with the given resource: calls to critical methods of that
scarce resource must be ignored and may
throw IllegalStateException
. This assertion is valid and
the behavior required for any class implementing the
ScarceResource
interface. In order to interact
again with the given resource, the application must call the
reserve()
method and become the owner again.
The implementation may dispose any system resources that this object is using. After the implementation must not call any of the methods of the listener that was attached at reservation time.
If the resource was already available (i.e. not reserved), this method does nothing.
The resource will be made available to another application across
the platform. After calling this method, it is no more possible to
interact with the given resource: calls to critical methods of that
scarce resource must be ignored and may
throw IllegalStateException
. This assertion is valid and
the behavior required for any class implementing the
ScarceResource
interface. In order to interact
again with the given resource, the application must call the
reserve()
method and become the owner again.
The implementation may dispose any system resources that this object is using. After the implementation must not call any of the methods of the listener that was attached at reservation time.
If the resource was already available (i.e. not reserved), this method does nothing.
The resource will be made available to another application across
the platform. After calling this method, it is no more possible to
interact with the given resource: calls to critical methods of that
scarce resource must be ignored and may
throw IllegalStateException
. This assertion is valid and
the behavior required for any class implementing the
ScarceResource
interface. In order to interact
again with the given resource, the application must call the
reserve()
method and become the owner again.
The implementation may dispose any system resources that this object is using. After the implementation must not call any of the methods of the listener that was attached at reservation time.
If the resource was already available (i.e. not reserved), this method does nothing.
The resource will be made available to another application across
the platform. After calling this method, it is no more possible to
interact with the given resource: calls to critical methods of that
scarce resource must be ignored and may
throw IllegalStateException
. This assertion is valid and
the behavior required for any class implementing the
ScarceResource
interface. In order to interact
again with the given resource, the application must call the
reserve()
method and become the owner again.
The implementation may dispose any system resources that this object is using. After the implementation must not call any of the methods of the listener that was attached at reservation time.
If the resource was already available (i.e. not reserved), this method does nothing.
resource
is being aggressively requested
by another application and gives the current owner the chance to
close his task.
resource
is being requested by another
application.
resource
has been released by the
implementation and is available for a new reservation.
Component
has been removed from
the parent container.
BroadcastFileListener
from receiving
notifications of changes to this BroadcastFile
.
BroadcastEventListener
from receiving
notifications of received BroadcastEvent
.
addListener()
.
ID
from the system.
MediaTimeListener
from a player and all the associated
data (times and IDs) from the system.
PlaneSetupListener
from this plane.
Screen
from this
Device
.
FilterEventListener
which will no longer remove events
from the DataSectionFilter
.
index
.
TextOverflowListener
from this TextLayoutManager.
DTVContainer
so that it no longer receives any
java.awt.event.WindowEvents
.
Plane
is modified.
First, if there is a security manager, its
checkPermission
method is called with the permission
ScarceResourcePermission(name, "reserve")
. If
force
is moreover set to true
, then
the permission is also checked on ScarceResourcePermission(name,
"force")
.
During the reservation process, if that resource instance is already
allocated, the implementation must notify
the current owner of that resource about the reservation request via
the ScarceResourceListener
interface:
ScarceResourceListener.releaseRequested()
if
force
is false
,ScarceResourceListener.releaseForced()
in the
other case.The listener will be used for such notification only until this resource is released. After releasing, the implementation must not call any of the listener's interface methods.
After that first event, the implementation will proceed accordingly
and release (or not) the requested resource. In case the
implementation releases the resource, it will trigger a
ScarceResourceListener.released()
event to the
original listening owner of the resource to inform him that the
resource does not belong to him anymore.
The application may control the time to wait for such a resource
to be available by setting timeoutms
. In case the
duration of the reservation exceeds the time expressed in
timeoutms
, a TimeoutException
is thrown.
Under normal operation, resources are released using the
release
method. However, in the case where the application
does not release resources when requested or the application is
terminated, the implementation must release
all resources allocated to the application to allow other applications
to be notified of changes in resource allocation and to be able to
reserve them. See the
Resource Cleanup
section of the application lifecycle.
First, if there is a security manager, its
checkPermission
method is called with the permission
ScarceResourcePermission(name, "reserve")
. If
force
is moreover set to true
, then
the permission is also checked on ScarceResourcePermission(name,
"force")
.
During the reservation process, if that resource instance is already
allocated, the implementation must notify
the current owner of that resource about the reservation request via
the ScarceResourceListener
interface:
ScarceResourceListener.releaseRequested()
if
force
is false
,ScarceResourceListener.releaseForced()
in the
other case.The listener will be used for such notification only until this resource is released. After releasing, the implementation must not call any of the listener's interface methods.
After that first event, the implementation will proceed accordingly
and release (or not) the requested resource. In case the
implementation releases the resource, it will trigger a
ScarceResourceListener.released()
event to the
original listening owner of the resource to inform him that the
resource does not belong to him anymore.
The application may control the time to wait for such a resource
to be available by setting timeoutms
. In case the
duration of the reservation exceeds the time expressed in
timeoutms
, a TimeoutException
is thrown.
Under normal operation, resources are released using the
release
method. However, in the case where the application
does not release resources when requested or the application is
terminated, the implementation must release
all resources allocated to the application to allow other applications
to be notified of changes in resource allocation and to be able to
reserve them. See the
Resource Cleanup
section of the application lifecycle.
First, if there is a security manager, its
checkPermission
method is called with the permission
ScarceResourcePermission(name, "reserve")
. If
force
is moreover set to true
, then
the permission is also checked on ScarceResourcePermission(name,
"force")
.
During the reservation process, if that resource instance is already
allocated, the implementation must notify
the current owner of that resource about the reservation request via
the ScarceResourceListener
interface:
ScarceResourceListener.releaseRequested()
if
force
is false
,ScarceResourceListener.releaseForced()
in the
other case.The listener will be used for such notification only until this resource is released. After releasing, the implementation must not call any of the listener's interface methods.
After that first event, the implementation will proceed accordingly
and release (or not) the requested resource. In case the
implementation releases the resource, it will trigger a
ScarceResourceListener.released()
event to the
original listening owner of the resource to inform him that the
resource does not belong to him anymore.
The application may control the time to wait for such a resource
to be available by setting timeoutms
. In case the
duration of the reservation exceeds the time expressed in
timeoutms
, a TimeoutException
is thrown.
Under normal operation, resources are released using the
release
method. However, in the case where the application
does not release resources when requested or the application is
terminated, the implementation must release
all resources allocated to the application to allow other applications
to be notified of changes in resource allocation and to be able to
reserve them. See the
Resource Cleanup
section of the application lifecycle.
ScarceResourcePermission("tuner", "reserve")
,
* or if force
is true
* and the caller does not have
* ScarceResourcePermission("tuner", "force")
.
First, if there is a security manager, its
checkPermission
method is called with the permission
ScarceResourcePermission(name, "reserve")
. If
force
is moreover set to true
, then
the permission is also checked on ScarceResourcePermission(name,
"force")
.
During the reservation process, if that resource instance is already
allocated, the implementation must notify
the current owner of that resource about the reservation request via
the ScarceResourceListener
interface:
ScarceResourceListener.releaseRequested()
if
force
is false
,ScarceResourceListener.releaseForced()
in the
other case.The listener will be used for such notification only until this resource is released. After releasing, the implementation must not call any of the listener's interface methods.
After that first event, the implementation will proceed accordingly
and release (or not) the requested resource. In case the
implementation releases the resource, it will trigger a
ScarceResourceListener.released()
event to the
original listening owner of the resource to inform him that the
resource does not belong to him anymore.
The application may control the time to wait for such a resource
to be available by setting timeoutms
. In case the
duration of the reservation exceeds the time expressed in
timeoutms
, a TimeoutException
is thrown.
Under normal operation, resources are released using the
release
method. However, in the case where the application
does not release resources when requested or the application is
terminated, the implementation must release
all resources allocated to the application to allow other applications
to be notified of changes in resource allocation and to be able to
reserve them. See the
Resource Cleanup
section of the application lifecycle.
First, if there is a security manager, its
checkPermission
method is called with the permission
ScarceResourcePermission(name, "reserve")
. If
force
is moreover set to true
, then
the permission is also checked on ScarceResourcePermission(name,
"force")
.
During the reservation process, if that resource instance is already
allocated, the implementation must notify
the current owner of that resource about the reservation request via
the ScarceResourceListener
interface:
ScarceResourceListener.releaseRequested()
if
force
is false
,ScarceResourceListener.releaseForced()
in the
other case.The listener will be used for such notification only until this resource is released. After releasing, the implementation must not call any of the listener's interface methods.
After that first event, the implementation will proceed accordingly
and release (or not) the requested resource. In case the
implementation releases the resource, it will trigger a
ScarceResourceListener.released()
event to the
original listening owner of the resource to inform him that the
resource does not belong to him anymore.
The application may control the time to wait for such a resource
to be available by setting timeoutms
. In case the
duration of the reservation exceeds the time expressed in
timeoutms
, a TimeoutException
is thrown.
Under normal operation, resources are released using the
release
method. However, in the case where the application
does not release resources when requested or the application is
terminated, the implementation must release
all resources allocated to the application to allow other applications
to be notified of changes in resource allocation and to be able to
reserve them. See the
Resource Cleanup
section of the application lifecycle.
First, if there is a security manager, its
checkPermission
method is called with the permission
ScarceResourcePermission(name, "reserve")
. If
force
is moreover set to true
, then
the permission is also checked on ScarceResourcePermission(name,
"force")
.
During the reservation process, if that resource instance is already
allocated, the implementation must notify
the current owner of that resource about the reservation request via
the ScarceResourceListener
interface:
ScarceResourceListener.releaseRequested()
if
force
is false
,ScarceResourceListener.releaseForced()
in the
other case.The listener will be used for such notification only until this resource is released. After releasing, the implementation must not call any of the listener's interface methods.
After that first event, the implementation will proceed accordingly
and release (or not) the requested resource. In case the
implementation releases the resource, it will trigger a
ScarceResourceListener.released()
event to the
original listening owner of the resource to inform him that the
resource does not belong to him anymore.
The application may control the time to wait for such a resource
to be available by setting timeoutms
. In case the
duration of the reservation exceeds the time expressed in
timeoutms
, a TimeoutException
is thrown.
Under normal operation, resources are released using the
release
method. However, in the case where the application
does not release resources when requested or the application is
terminated, the implementation must release
all resources allocated to the application to allow other applications
to be notified of changes in resource allocation and to be able to
reserve them. See the
Resource Cleanup
section of the application lifecycle.
First, if there is a security manager, its
checkPermission
method is called with the permission
ScarceResourcePermission(name, "reserve")
. If
force
is moreover set to true
, then
the permission is also checked on ScarceResourcePermission(name,
"force")
.
During the reservation process, if that resource instance is already
allocated, the implementation must notify
the current owner of that resource about the reservation request via
the ScarceResourceListener
interface:
ScarceResourceListener.releaseRequested()
if
force
is false
,ScarceResourceListener.releaseForced()
in the
other case.The listener will be used for such notification only until this resource is released. After releasing, the implementation must not call any of the listener's interface methods.
After that first event, the implementation will proceed accordingly
and release (or not) the requested resource. In case the
implementation releases the resource, it will trigger a
ScarceResourceListener.released()
event to the
original listening owner of the resource to inform him that the
resource does not belong to him anymore.
The application may control the time to wait for such a resource
to be available by setting timeoutms
. In case the
duration of the reservation exceeds the time expressed in
timeoutms
, a TimeoutException
is thrown.
Under normal operation, resources are released using the
release
method. However, in the case where the application
does not release resources when requested or the application is
terminated, the implementation must release
all resources allocated to the application to allow other applications
to be notified of changes in resource allocation and to be able to
reserve them. See the
Resource Cleanup
section of the application lifecycle.
NetworkDevice
instances of the given type
.
Tuner
instances
Plane
instances.
Screen
instances.
KeyEvent
instances.
MouseEvent
instances.
RemoteControlEvent
instances.
DTVContainer
so that it
best corresponds to the input DTVContainerPattern
, or do nothing if not necessary.
setScalingMode
method of
ViewOnlyComponent
.
setScalingMode
method of
ViewOnlyComponent
.
setScalingMode
method of
ViewOnlyComponent
.
setStartCorner
method of SophisticatedTextLayoutManager
.
setStartCorner
method of SophisticatedTextLayoutManager
.
setStartCorner
method of SophisticatedTextLayoutManager
.
setStartCorner
method of SophisticatedTextLayoutManager
.
PlaneSetupPattern.setPreference(int, int)
and PlaneSetupPattern.getPriority(int)
methods in
the PlaneSetupPattern
.
ScarceResourcePermission
object with the
specified name and actions.
DefaultTextLayoutManager
in
order to enable more sophisticated layout design possibilities for test to
be shown in TV components.
AlphaComposite
object that implements the opaque SRC rule
with an alpha of 1.0f.
AlphaComposite
object that implements the opaque SRC_ATOP
rule with an alpha of 1.0f.
AlphaComposite
object that implements the opaque SRC_IN
rule with an alpha of 1.0f.
AlphaComposite
object that implements the opaque SRC_OUT
rule with an alpha of 1.0f.
AlphaComposite
object that implements the opaque SRC_OVER
rule with an alpha of 1.0f.
Style
property.DTVContainer
.
DTVContainer
.
DTVContainer
.
Planes
, based
on their PlaneSetups
supplied.
Buffer
.
Buffer
.
Group
that is responsible for
layout along the horizontal axis.
SophisticatedTextLayoutManager
to provide a virtual margin.
Buffer
.
Matte
to the component implementing this
interface in order to enable matte compositing.
Matte
to this component in order to
enable matte compositing.
Buffer
.
DataSectionFilter
.
DTVContainer
to the
front.
Transformations
object, the return value is the
closest match that is possible for the system.
Group
that is responsible for
layout along the vertical axis.
DTVContainer
to true or
false, depended on the argument's value.
start()
causes a restart of the animation.
start()
causes a restart of the animation.
start()
causes a restart of the animation.
stop()
has no effect.
stop()
has no effect.
stop()
has no effect.
DataSectionFilter
in the parent DataSectionFilterCollection
.
properties
to the file identified by path
and stores it persistently.
triggerType
used to request synchronization on a given
event between the test client and the test server.
triggerType
used to signal that the test identified by
testId
is now considered finished.
reserve
representing any possible
network device type.
TabbedPane
with a default
tab placement of Component.TOP
.
TabbedPane
with the specified tab placement
of either: Component.TOP
, Component.BOTTOM
,
Component.LEFT
, or Component.RIGHT
.
TimeoutException
with no detailed
message.
TimeoutException
with the specified detail
message.
DTVContainer
to play an animation when
moving from one form to the next. null
detail message.
List
of CardTerminal objects that are build in or
attached via an external interface (e.g.
device
is about to be disconnected
because the inactivity timeout period given at construction time
has elapsed.
Locator
. The string returned may be entirely
platform-dependent. If two locators have identical external
forms, they refer to the same resource. However, two locators
that refer to the same resource may have different external
forms.
This method returns the canonical
form of the string that was used to create the Locator (via
LocatorFactory.createLocator()
). In generating
canonical external forms, the implementation will make its best
effort at resolving locators to one-to-one relationships
with the resources that they reference.
The result of this method can be used to create new
Locator
instances as well as other types of
locators, such as JMF MediaLocator
s and
URL
s.
Locator
. The string returned may be entirely
platform-dependent. If two locators have identical external
forms, they refer to the same resource. However, two locators
that refer to the same resource may have different external
forms.
This method returns the canonical
form of the string that was used to create the Locator (via
LocatorFactory.createLocator()
). In generating
canonical external forms, the implementation will make its best
effort at resolving locators to one-to-one relationships
with the resources that they reference.
The result of this method can be used to create new
Locator
instances as well as other types of
locators, such as JMF MediaLocator
s and
URL
s.
Locator
.
String
representation of the object.
Font
object into a String.
User
class contains several useful class fields and
methods that are specific to the consumer of the platform. UserInputDevice
by everybody, they are bound to a
Screen
.
UserInputDevice
.UserInpitEvents
. UserPropertyListener
to
the user properties sub-system to stay informed about any changes of any
user properties. UserPropertyPermission
object with the
specified name and actions.
UserInputEvent
has been received.
setVerticalAlignment
method of SophisticatedTextLayoutManager
.
setVerticalAlignment
method of ViewOnlyComponent
.
setVerticalAlignment
method of SophisticatedTextLayoutManager
.
setVerticalAlignment
method of ViewOnlyComponent
.
setVerticalAlignment
method of SophisticatedTextLayoutManager
.
setVerticalAlignment
method of ViewOnlyComponent
.
setVerticalAlignment
method of SophisticatedTextLayoutManager
.
setVerticalAlignment
method of ViewOnlyComponent
.
setPreference
and getPriority
methods in the
PlaneSetupPattern
.
setPreference
and getPriority
methods in the PlaneSetupPattern
.
AlphaComposite
object that implements the opaque XOR rule
with an alpha of 1.0f.
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |