net.sf.jomic.tools
Class ImageRenderSettings
java.lang.Object
java.util.Dictionary
java.util.Hashtable
java.util.Properties
net.sf.jomic.tools.BasicSettings
net.sf.jomic.tools.ImageRenderSettings
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
- Direct Known Subclasses:
- ComicSheetRenderSettings
public class ImageRenderSettings
- extends BasicSettings
Settings to specify how to render an image depending on user preferences and window size.
- Author:
- Thomas Aglassinger
- See Also:
- Serialized Form
Fields inherited from class java.util.Properties |
defaults |
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 |
DEFAULT_FILL_COLOR
public static final java.lang.String DEFAULT_FILL_COLOR
- See Also:
- Constant Field Values
DEFAULT_ROTATION
public static final int DEFAULT_ROTATION
- See Also:
- Constant Field Values
DEFAULT_SCALE_MODE
public static final java.lang.String DEFAULT_SCALE_MODE
- See Also:
- Constant Field Values
FILL_COLOR
public static final java.lang.String FILL_COLOR
- Color to use when filling the border in case two pages do not have a similar aspect ratio
(specified using the HTML-like "#rrggbb" format).
- See Also:
- Constant Field Values
MAX_ROTATION
public static final int MAX_ROTATION
- See Also:
- Constant Field Values
MIN_ROTATION
public static final int MIN_ROTATION
- See Also:
- Constant Field Values
ROTATION
public static final java.lang.String ROTATION
- See Also:
- Constant Field Values
SCALE_MODE
public static final java.lang.String SCALE_MODE
- See Also:
- Constant Field Values
SELECTION_COLOR
public static final java.lang.String SELECTION_COLOR
- Color use when selection an image or a part of it.
- See Also:
- Constant Field Values
ImageRenderSettings
public ImageRenderSettings()
setFillColor
public void setFillColor(java.awt.Color newColor)
setRotation
public void setRotation(int newRotation)
setScaleMode
public void setScaleMode(java.lang.String mode)
setSelectionColor
public void setSelectionColor(java.awt.Color newColor)
getFillColor
public java.awt.Color getFillColor()
getRotation
public int getRotation()
- Get the current rotation.
- Returns:
- one of ImageTools.ROTATE_*
- See Also:
ImageTools.ROTATE_NONE
,
ImageTools.ROTATE_CLOCKWISE
,
ImageTools.ROTATE_COUNTERCLOCKWISE
,
ImageTools.ROTATE_UPSIDE_DOWN
getScaleMode
public java.lang.String getScaleMode()
getSelectionColor
public java.awt.Color getSelectionColor()
rotateLeft
public void rotateLeft()
rotateRight
public void rotateRight()