Package com.hp.lft.sdk.sap.gui
Class WindowDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.sap.gui.ElementDescription
com.hp.lft.sdk.sap.gui.WindowDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
Description of a window in a SAP GUI for Windows application.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the WindowDescription class using the builder pattern.protected static classWindowDescription.Init<T extends WindowDescription.Init<T>>Helper class for WindowDescription.Builder.
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the WindowDescription class.protectedWindowDescription(WindowDescription.Init<?> init) Initializes a new instance of the WindowDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the name of the SAP source program that is currently executing.Returns the number of the currently displayed screen.getText()Returns the text associated with the window.Returns the transaction the user is currently executing.Returns the window's working pane size in character metric.Indicates whether the window is minimized.voidsetMinimized(Boolean minimized) Sets whether the window is minimized.voidsetProgram(StringProperty program) Sets the name of the SAP source program that is currently executing.voidsetProgram(String program) Sets the name of the SAP source program that is currently executing.voidsetScreenNumber(Long screenNumber) Sets the number of the currently displayed screen.voidsetText(StringProperty text) Sets the text associated with the window.voidSets the text associated with the window.voidsetTransaction(StringProperty transaction) Sets the transaction the user is currently executing.voidsetTransaction(String transaction) Sets the transaction the user is currently executing.voidSets the window's working pane size in character metric.voidsetWorkingPaneSize(Dimension size) Sets the window's working pane size in character metric.voidsetWorkingPaneSize(Integer width, Integer height) Sets the window's working pane size in character metric.Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescriptiongetAbsoluteLocation, getId, getLocation, getName, getSize, getType, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setId, setId, setLocation, setLocation, setLocation, setName, setName, setSize, setSize, setSize, setTypeMethods inherited from class com.hp.lft.sdk.DescriptionBasecloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
WindowDescriptionpublic WindowDescription()Initializes a new instance of the WindowDescription class.
- 
WindowDescriptionInitializes a new instance of the WindowDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setTextSets the text associated with the window.- Parameters:
- text- the text.
 
- 
setTextSets the text associated with the window.- Parameters:
- text- the text.
 
- 
getTextReturns the text associated with the window.- Returns:
- the text.
 
- 
setWorkingPaneSizeSets the window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.- Parameters:
- size- the size.
 
- 
setWorkingPaneSizeSets the window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.- Parameters:
- size- the size.
 
- 
setWorkingPaneSizeSets the window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.- Parameters:
- width- in character metric.
- height- in character metric.
 
- 
getWorkingPaneSizeReturns the window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.- Returns:
- the pane size.
 
- 
setMinimizedSets whether the window is minimized.- Parameters:
- minimized- true if minimized.
 
- 
IsMinimizedIndicates whether the window is minimized.- Returns:
- true if minimized.
 
- 
setTransactionSets the transaction the user is currently executing.- Parameters:
- transaction- the transaction name.
 
- 
setTransactionSets the transaction the user is currently executing.- Parameters:
- transaction- the transaction name.
 
- 
getTransactionReturns the transaction the user is currently executing.- Returns:
- the transaction name.
 
- 
setScreenNumberSets the number of the currently displayed screen.- Parameters:
- screenNumber- the screen number.
 
- 
getScreenNumberReturns the number of the currently displayed screen.- Returns:
- the screen number.
 
- 
setProgramSets the name of the SAP source program that is currently executing.- Parameters:
- program- the program name.
 
- 
setProgramSets the name of the SAP source program that is currently executing.- Parameters:
- program- the program name.
 
- 
getProgramReturns the name of the SAP source program that is currently executing.- Returns:
- the program name.
 
 
-