net.sf.jomic.common
Class ComicSheetRenderSettings

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by java.util.Properties
              extended by net.sf.jomic.tools.BasicSettings
                  extended by net.sf.jomic.tools.ImageRenderSettings
                      extended by net.sf.jomic.common.ComicSheetRenderSettings
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map
Direct Known Subclasses:
Settings

public class ComicSheetRenderSettings
extends ImageRenderSettings

Settings to specify how to render the images of a ComicSheet.

See Also:
ComicSheet, Serialized Form

Field Summary
static java.lang.String ROTATE_ONLY_SINGLE_PORTRAIT_IMAGES
          Rotate image only if viewing as single page and it is portrait?
static java.lang.String SHOW_TWO_PAGES
          Show two pages at once?
static java.lang.String SWAP_LEFT_AND_RIGHT_IMAGE
          Read comic from right to left (manga mode)?
 
Fields inherited from class net.sf.jomic.tools.ImageRenderSettings
DEFAULT_FILL_COLOR, DEFAULT_ROTATION, DEFAULT_SCALE_MODE, FILL_COLOR, MAX_ROTATION, MIN_ROTATION, ROTATION, SCALE_MODE, SELECTION_COLOR
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
ComicSheetRenderSettings()
           
 
Method Summary
 boolean getRotateOnlySinglePortraitImages()
           
 boolean getSwapLeftAndRightImage()
           
 boolean getTwoPageMode()
           
 void setRotateOnlySinglePortraitImages(boolean newRotate)
           
 void setSwapLeftAndRightImage(boolean newMode)
           
 void setTwoPageMode(boolean newMode)
           
 
Methods inherited from class net.sf.jomic.tools.ImageRenderSettings
getFillColor, getRotation, getScaleMode, getSelectionColor, rotateLeft, rotateRight, setFillColor, setRotation, setScaleMode, setSelectionColor
 
Methods inherited from class net.sf.jomic.tools.BasicSettings
addPropertyChangeListener, addPropertyChangeListener, applyComponentAreaProperty, clear, firePropertyChangeEvent, getBooleanProperty, getChoiceProperty, getColorProperty, getFileProperty, getIntProperty, getLimitedIntProperty, getProperty, getProperty, getSystemPropertyName, isValidPropertyName, remove, removePropertyChangeListener, removePropertyChangeListener, setBooleanProperty, setChoiceProperty, setColorProperty, setComponentAreaProperty, setDefault, setDefault, setDefault, setFileProperty, setIntProperty, setLimitedIntProperty, setProperty, setSystemPropertyPrefix
 
Methods inherited from class java.util.Properties
list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROTATE_ONLY_SINGLE_PORTRAIT_IMAGES

public static final java.lang.String ROTATE_ONLY_SINGLE_PORTRAIT_IMAGES
Rotate image only if viewing as single page and it is portrait?

See Also:
Constant Field Values

SHOW_TWO_PAGES

public static final java.lang.String SHOW_TWO_PAGES
Show two pages at once?

See Also:
Constant Field Values

SWAP_LEFT_AND_RIGHT_IMAGE

public static final java.lang.String SWAP_LEFT_AND_RIGHT_IMAGE
Read comic from right to left (manga mode)?

See Also:
Constant Field Values
Constructor Detail

ComicSheetRenderSettings

public ComicSheetRenderSettings()
Method Detail

setRotateOnlySinglePortraitImages

public void setRotateOnlySinglePortraitImages(boolean newRotate)

setSwapLeftAndRightImage

public void setSwapLeftAndRightImage(boolean newMode)

setTwoPageMode

public void setTwoPageMode(boolean newMode)

getRotateOnlySinglePortraitImages

public boolean getRotateOnlySinglePortraitImages()

getSwapLeftAndRightImage

public boolean getSwapLeftAndRightImage()

getTwoPageMode

public boolean getTwoPageMode()