Top Inners Constructors Methods
org.jabref.gui.documentviewer

public abstract Class PageDimension

extends Object
Class Inheritance
Known Direct Subclasses
org.jabref.gui.documentviewer.PageDimension.FixedWidthPageDimension, org.jabref.gui.documentviewer.PageDimension.FixedHeightPageDimension

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract int
getHeight(double aspectRatio)

public abstract int
getWidth(double aspectRatio)

public static PageDimension
ofFixedHeight(int height)

public static PageDimension
ofFixedHeight(double height)

public static PageDimension
ofFixedWidth(int width)

public static PageDimension
ofFixedWidth(double width)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PageDimensionback to summary
public PageDimension()

Method Detail

getHeightback to summary
public abstract int getHeight(double aspectRatio)
getWidthback to summary
public abstract int getWidth(double aspectRatio)
ofFixedHeightback to summary
public static PageDimension ofFixedHeight(int height)
ofFixedHeightback to summary
public static PageDimension ofFixedHeight(double height)
ofFixedWidthback to summary
public static PageDimension ofFixedWidth(int width)
ofFixedWidthback to summary
public static PageDimension ofFixedWidth(double width)
org.jabref.gui.documentviewer back to summary

private Class PageDimension.FixedHeightPageDimension

extends PageDimension
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getHeight(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getHeight.

public int
getWidth(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getWidth.

Inherited from org.jabref.gui.documentviewer.PageDimension:
ofFixedHeightofFixedHeightofFixedWidthofFixedWidth

Field Detail

heightback to summary
private final int height

Constructor Detail

FixedHeightPageDimensionback to summary
public FixedHeightPageDimension(int height)

Method Detail

getHeightback to summary
public int getHeight(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getHeight.

Annotations
@Override
getWidthback to summary
public int getWidth(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getWidth.

Annotations
@Override
org.jabref.gui.documentviewer back to summary

private Class PageDimension.FixedWidthPageDimension

extends PageDimension
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getHeight(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getHeight.

public int
getWidth(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getWidth.

Inherited from org.jabref.gui.documentviewer.PageDimension:
ofFixedHeightofFixedHeightofFixedWidthofFixedWidth

Field Detail

widthback to summary
private final int width

Constructor Detail

FixedWidthPageDimensionback to summary
public FixedWidthPageDimension(int width)

Method Detail

getHeightback to summary
public int getHeight(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getHeight.

Annotations
@Override
getWidthback to summary
public int getWidth(double aspectRatio)

Implements abstract org.jabref.gui.documentviewer.PageDimension.getWidth.

Annotations
@Override