org.jopendocument.util
Class FillMode.ZoomIn

java.lang.Object
  extended by org.jopendocument.util.FillMode
      extended by org.jopendocument.util.FillMode.ZoomIn
Enclosing class:
FillMode

public static class FillMode.ZoomIn
extends FillMode


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jopendocument.util.FillMode
FillMode.ZoomIn, FillMode.ZoomOut
 
Field Summary
 
Fields inherited from class org.jopendocument.util.FillMode
STRETCH, ZOOM_CENTER, ZOOM_LEADING, ZOOM_TRAILING
 
Constructor Summary
FillMode.ZoomIn(int position)
          The image keeps its ratio but only a part of it is used, avoiding outer stripes.
 
Method Summary
 int getPosition()
           
 int getPosition(int external, int internal)
           
 
Methods inherited from class org.jopendocument.util.FillMode
isRatioKept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FillMode.ZoomIn

public FillMode.ZoomIn(int position)
The image keeps its ratio but only a part of it is used, avoiding outer stripes.

Parameters:
position - what part of the image should be used, can be SwingConstants.CENTER, SwingConstants.LEADING or SwingConstants.TRAILING.
Method Detail

getPosition

public final int getPosition()

getPosition

public final int getPosition(int external,
                             int internal)


Copyright © 2010 jOpenDocument All Rights Reserved.