JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d.j3d
Class JCViewportJava3d

java.lang.Object
  |
  +--com.klg.jclass.chart3d.ParentTrackChange
        |
        +--com.klg.jclass.chart3d.JCViewport
              |
              +--com.klg.jclass.chart3d.j3d.JCViewportJava3d
All Implemented Interfaces:
Serializable

public class JCViewportJava3d
extends JCViewport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.chart3d.JCViewport
horizontalShift, MAX_VIEW_SCALE, MIN_VIEW_SCALE, normalized, PREVIEW_CUBE, PREVIEW_FULL, previewMethod, scale, verticalShift
 
Fields inherited from class com.klg.jclass.chart3d.ParentTrackChange
parents
 
Constructor Summary
JCViewportJava3d(com.klg.jclass.chart3d.j3d.JCChart3dAreaJava3d area)
           
 
Method Summary
 void setHorizontalShift(double horizontalShift)
          Sets the horizontal shift.
 void setScale(double scale)
          Sets the zoom factor.
 void setVerticalShift(double verticalShift)
          Sets the vertical shift.
 
Methods inherited from class com.klg.jclass.chart3d.JCViewport
getHorizontalShift, getPreviewMethod, getScale, getVerticalShift, isNormalized, setNormalized, setPreviewMethod, setViewport
 
Methods inherited from class com.klg.jclass.chart3d.ParentTrackChange
addParent, clearParents, removeParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCViewportJava3d

public JCViewportJava3d(com.klg.jclass.chart3d.j3d.JCChart3dAreaJava3d area)
Method Detail

setScale

public void setScale(double scale)
Sets the zoom factor. A value less than one means a viewport smaller than the default. A value greater than one means a viewport greater than the default (the graph image will be clipped by the JCChart3dArea).

Overrides:
setScale in class JCViewport
Parameters:
scale - the new scale zoom factor

setHorizontalShift

public void setHorizontalShift(double horizontalShift)
Sets the horizontal shift.

Overrides:
setHorizontalShift in class JCViewport
Parameters:
horizontalShift - the horizontal shift

setVerticalShift

public void setVerticalShift(double verticalShift)
Sets the vertical shift.

Overrides:
setVerticalShift in class JCViewport
Parameters:
verticalShift - the vertical shift

Copyright © 2004 Quest Software Inc..
All rights reserved.