Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bind
Class IsAgentOperatingSystemBoundValue

java.lang.Object
  |
  +--oracle.cabo.ui.data.bind.IsAgentOperatingSystemBoundValue
All Implemented Interfaces:
BoundValue

public class IsAgentOperatingSystemBoundValue
extends java.lang.Object
implements BoundValue

BoundValue that returns a Boolean based on the Agent Operating System.

See Also:
Agent

Constructor Summary
IsAgentOperatingSystemBoundValue(int os)
          Construct an instance of AgentOperatingSystemBoundValue.
 
Method Summary
 java.lang.Object getValue(RenderingContext context)
          Called to retrieve a value based on the current rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsAgentOperatingSystemBoundValue

public IsAgentOperatingSystemBoundValue(int os)
Construct an instance of AgentOperatingSystemBoundValue.
Parameters:
os - the agent operating system that is being checked for. The values should be one of the OS constants in oracle.cabo.share.agent.Agent
Method Detail

getValue

public java.lang.Object getValue(RenderingContext context)
Description copied from interface: BoundValue
Called to retrieve a value based on the current rendering context.
Specified by:
getValue in interface BoundValue
Returns:
a Boolean indicating whether what was passed to the constructor matches what is returned from context.getAgent().getAgentOS()

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.