public class AdaptiveResize extends AbstractIMSimpleOperation
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-width <int> (property: width) The width in pixels; -1 for current width. default: -1 minimum: -1
-height <int> (property: height) The height in pixels; -1 for current height. default: -1 minimum: -1
-geometry <java.lang.String> (property: geometry) The geometry specification character, empty or one of the following characters: <>!@% default:
Modifier and Type | Field and Description |
---|---|
static String |
GEOMETRY_CHARS
the geomtry characters.
|
protected String |
m_Geometry
the geometry.
|
protected int |
m_Height
the height.
|
protected int |
m_Width
the width.
|
m_OptionManager
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
Constructor and Description |
---|
AdaptiveResize() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOperation(org.im4java.core.IMOperation op)
Adds the operation.
|
void |
defineOptions()
Adds options to the internal list of options.
|
String |
geometryTipText()
Returns the tip text for this property.
|
String |
getGeometry()
Returns the geometry specification.
|
int |
getHeight()
Returns the height in pixels.
|
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI.
|
int |
getWidth()
Returns the width in pixels.
|
String |
globalInfo()
Returns a string describing the object.
|
String |
heightTipText()
Returns the tip text for this property.
|
void |
setGeometry(String value)
Sets the geometry specification.
|
void |
setHeight(int value)
Sets the height in pixels.
|
void |
setWidth(int value)
Sets the width in pixels.
|
String |
widthTipText()
Returns the tip text for this property.
|
doApply
check
apply
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLoggingLevel
public static final String GEOMETRY_CHARS
protected int m_Width
protected int m_Height
protected String m_Geometry
public String globalInfo()
globalInfo
in interface GlobalInfoSupporter
globalInfo
in class AbstractOptionHandler
public void defineOptions()
defineOptions
in interface OptionHandler
defineOptions
in class AbstractOptionHandler
public String getQuickInfo()
getQuickInfo
in interface QuickInfoSupporter
getQuickInfo
in class AbstractImageOperation
public void setWidth(int value)
value
- the widthpublic int getWidth()
public String widthTipText()
public void setHeight(int value)
value
- the heightpublic int getHeight()
public String heightTipText()
public void setGeometry(String value)
value
- the geometryGEOMETRY_CHARS
public String getGeometry()
GEOMETRY_CHARS
public String geometryTipText()
protected void addOperation(org.im4java.core.IMOperation op)
addOperation
in class AbstractIMSimpleOperation
op
- the operation object to updateCopyright © 2021 University of Waikato, Hamilton, NZ. All Rights Reserved.