org.apache.batik.bridge
Class UserAgentViewport

java.lang.Object
  |
  +--org.apache.batik.bridge.UserAgentViewport
All Implemented Interfaces:
Viewport

public class UserAgentViewport
extends java.lang.Object
implements Viewport

Defines a viewport for a UserAgent.


Field Summary
protected  UserAgent userAgent
           
 
Constructor Summary
UserAgentViewport(UserAgent ua)
           
 
Method Summary
 float getHeight()
          Returns the height of this viewport.
 float getWidth()
          Returns the width of this viewport.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userAgent

protected UserAgent userAgent
Constructor Detail

UserAgentViewport

public UserAgentViewport(UserAgent ua)
Method Detail

getWidth

public float getWidth()
Description copied from interface: Viewport
Returns the width of this viewport.
Specified by:
getWidth in interface Viewport

getHeight

public float getHeight()
Description copied from interface: Viewport
Returns the height of this viewport.
Specified by:
getHeight in interface Viewport


Copyright © 2000 Apache Software Foundation. All Rights Reserved.