Package com.hp.lft.sdk
Class ScrollProperty
java.lang.Object
com.hp.lft.sdk.ScrollProperty
- All Implemented Interfaces:
- CloneableObject,- com.hp.lft.sdk.internal.GroupedProperty,- Cloneable
public class ScrollProperty
extends Object
implements com.hp.lft.sdk.internal.GroupedProperty, CloneableObject
The class used for scrollbar properties.
- 
Constructor SummaryConstructorsConstructorDescriptionInitializes a new instance of the ScrollProperty class.ScrollProperty(ScrollInfo scrollInfo) Initializes a new instance of the ScrollProperty class with the provided scrollInfo.ScrollProperty(ScrollProperty scrollPropertyToCopy) Initializes a new instance of the ScrollProperty class provided copy of a ScrollProperty object.
- 
Method SummaryModifier and TypeMethodDescriptionclone()Returns a clone of this instance.Returns the maximum position (in lines) of the scroll bar.Returns the minimum position (in lines) of the scroll bar.Returns the size (in lines) of a single page of the scroll bar.Returns the current position (in lines) of the scroll bar.isExists()Indicates whether the scroll bar exists.Sets whether the scroll bar exists.setMaximum(Integer maximum) Sets the maximum position (in lines) of the scroll bar.setMinimum(Integer minimum) Sets the minimum position (in lines) of the scroll bar.setPageSize(Integer pageSize) Sets the size (in lines) of a single page of the scroll bar.setPosition(Integer position) Sets the current position (in lines) of the scroll bar.
- 
Constructor Details- 
ScrollPropertypublic ScrollProperty()Initializes a new instance of the ScrollProperty class.
- 
ScrollPropertyInitializes a new instance of the ScrollProperty class with the provided scrollInfo.- Parameters:
- scrollInfo- the properties of the scroll bar instance.
 
- 
ScrollPropertyInitializes a new instance of the ScrollProperty class provided copy of a ScrollProperty object.- Parameters:
- scrollPropertyToCopy- the ScrollProperty object to use for the initialization of the new instance.
 
 
- 
- 
Method Details- 
cloneDescription copied from interface:CloneableObjectReturns a clone of this instance.- Specified by:
- clonein interface- CloneableObject
- Overrides:
- clonein class- Object
- Returns:
- a clone of this instance.
- Throws:
- CloneNotSupportedException- if the instance cannot be cloned.
 
- 
isExistsIndicates whether the scroll bar exists.- Returns:
- true, if the scroll bar exists.
 
- 
setExistsSets whether the scroll bar exists.- Parameters:
- exists- indicates whether the scroll bar exists.
- Returns:
- the ScrollProperty instance with the updated state (builder pattern).
 
- 
getPageSizeReturns the size (in lines) of a single page of the scroll bar.- Returns:
- the pageSize
 
- 
setPageSizeSets the size (in lines) of a single page of the scroll bar.- Parameters:
- pageSize- the size (in lines) of a single page of the scroll bar.
- Returns:
- the ScrollProperty instance with the updated state (builder pattern).
 
- 
getPositionReturns the current position (in lines) of the scroll bar.- Returns:
- position the current position (in lines) of the scroll bar.
 
- 
setPositionSets the current position (in lines) of the scroll bar.- Parameters:
- position- the position (in lines) to set.
- Returns:
- the ScrollProperty instance with the updated state (builder pattern).
 
- 
getMaximumReturns the maximum position (in lines) of the scroll bar.- Returns:
- the maximum position (in lines) of the scroll bar.
 
- 
setMaximumSets the maximum position (in lines) of the scroll bar.- Parameters:
- maximum- position (in lines) of the scroll bar.
- Returns:
- the ScrollProperty instance with the updated state (builder pattern).
 
- 
getMinimumReturns the minimum position (in lines) of the scroll bar.- Returns:
- minimum position (in lines) of the scroll bar.
 
- 
setMinimumSets the minimum position (in lines) of the scroll bar.- Parameters:
- minimum- the minimum position (in lines) of the scroll bar.
- Returns:
- the ScrollProperty instance with the updated state (builder pattern).
 
- 
getProperties- Specified by:
- getPropertiesin interface- com.hp.lft.sdk.internal.GroupedProperty
 
 
-