JTwain v9 - Lab Asprise! All Rights Reserved.

com.asprise.util.jtwain.lowlevel
Class ValueContainerRange

java.lang.Object
  extended bycom.asprise.util.jtwain.lowlevel.ValueContainer
      extended bycom.asprise.util.jtwain.lowlevel.ValueContainerRange

public class ValueContainerRange
extends ValueContainer

Java wrapper for TWAIN value container: RANGE


Constructor Summary
ValueContainerRange()
           
 
Method Summary
 int getContainerType()
           
 ItemType getCurrentValue()
           
 ItemType getDefaultValue()
           
 ItemType getItem(int index)
           
 ItemType getMaxValue()
           
 ItemType getMinValue()
           
 Object getObject()
          Gets an object representing this value container.
 ItemType getStepSize()
           
 void setCurrentValue(ItemType type)
           
 void setDefaultValue(ItemType type)
           
 void setMaxValue(ItemType type)
           
 void setMinValue(ItemType type)
           
 void setStepSize(ItemType type)
           
 String toString()
           
 
Methods inherited from class com.asprise.util.jtwain.lowlevel.ValueContainer
getItemType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueContainerRange

public ValueContainerRange()
Method Detail

getCurrentValue

public ItemType getCurrentValue()
Returns:

getDefaultValue

public ItemType getDefaultValue()
Returns:

getMaxValue

public ItemType getMaxValue()
Returns:

getMinValue

public ItemType getMinValue()
Returns:

getStepSize

public ItemType getStepSize()
Returns:

getItem

public ItemType getItem(int index)

setCurrentValue

public void setCurrentValue(ItemType type)
Parameters:
type -

setDefaultValue

public void setDefaultValue(ItemType type)
Parameters:
type -

setMaxValue

public void setMaxValue(ItemType type)
Parameters:
type -

setMinValue

public void setMinValue(ItemType type)
Parameters:
type -

setStepSize

public void setStepSize(ItemType type)
Parameters:
type -

getContainerType

public int getContainerType()
Overrides:
getContainerType in class ValueContainer
Returns:

toString

public String toString()
Overrides:
toString in class ValueContainer

getObject

public Object getObject()
Description copied from class: ValueContainer
Gets an object representing this value container. Subclasses should override this method.

Overrides:
getObject in class ValueContainer
Returns:

JTwain v9 - Lab Asprise! All Rights Reserved.