Serializable
, Cloneable
, Component
public class Combo extends Sampler
Modifier and Type | Field | Description |
---|---|---|
protected Sampler |
backup |
|
protected String |
combo |
|
protected Sampler |
primary |
Constructor | Description |
---|---|
Combo() |
Modifier and Type | Method | Description |
---|---|---|
String |
getDescription() |
Get the description of this component.
|
String |
getName() |
Get the name of this component.
|
void |
sample(int index) |
Use the primary unless we get a NaN
|
void |
setBounds(int[] bounds) |
Set the bounds of the output image that may be asked for.
|
void |
setInput(Image inImage) |
Set the input image for the sampling
|
void |
setOutput(Image outImage) |
Set the output image for the sampling
|
void |
setTransform(Transformer transform) |
Set the transformation information.
|
protected Sampler primary
protected Sampler backup
protected String combo
public String getName()
Component
public String getDescription()
Component
public void sample(int index)
public void setInput(Image inImage)
public void setBounds(int[] bounds)
public void setOutput(Image outImage)
public void setTransform(Transformer transform)
setTransform
in class Sampler
transform
- The transformer object.