public class Header extends Control
| Modifier | Constructor and Description |
|---|---|
protected |
Header(JtfObjectHandle handle,
Desktop desktop)
Creates a new Header with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dividerDoubleSelect(int itemIndex,
int button)
Double-clicks the divider on the right side of the specified item.
|
void |
dividerDoubleSelect(ItemIdentifier item,
int button)
Double-clicks the divider on the right side of the specified item.
|
void |
dividerDoubleSelect(String itemText,
int button)
Double-clicks the divider on the right side of the specified item.
|
void |
doubleSelect(int itemIndex,
int button)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier item,
int button)
Double-clicks an item.
|
void |
doubleSelect(String itemText,
int button)
Double-clicks an item.
|
int |
getColumnCount()
Gets the number of columns in the header.
|
List<Integer> |
getColumnOrder()
Gets the header's item indices as they are currently ordered.
|
String |
getColumnTitle(int itemIndex)
Returns the title of a specified header item.
|
int |
getColumnWidth(int itemIndex)
Returns the width of a specified column.
|
int |
getColumnWidth(ItemIdentifier item)
Returns the width of a specified column.
|
int |
getColumnWidth(String itemText)
Returns the width of a specified column.
|
void |
resize(int itemIndex,
int width)
Resizes an item of the header.
|
void |
resize(ItemIdentifier item,
int width)
Resizes an item of the header.
|
void |
resize(String itemText,
int width)
Resizes an item of the header.
|
void |
select(int itemIndex,
int button)
Selects an item or button.
|
void |
select(ItemIdentifier item,
int button)
Selects an item or button.
|
void |
select(String itemText,
int button)
Selects an item or button.
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenuclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForPropertyequals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toStringprotected Header(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the Headerdesktop - the desktop on which this object livespublic void dividerDoubleSelect(ItemIdentifier item, int button)
item - the path or index of the item to selectbutton - the button to select. 1=left,2=right,3=middle,...public void dividerDoubleSelect(String itemText, int button)
itemText - the path or index of the item to selectbutton - the button to select. 1=left,2=right,3=middle,...public void dividerDoubleSelect(int itemIndex,
int button)
itemIndex - the path or index of the item to selectbutton - the button to select. 1=left,2=right,3=middle,...public void doubleSelect(ItemIdentifier item, int button)
item - the path or index of the item to double-clickbutton - the index of the mouse button to use to perform the double-click. 1=left, 2=right, 3=middle,...public void doubleSelect(String itemText, int button)
itemText - the path or index of the item to double-clickbutton - the index of the mouse button to use to perform the double-click. 1=left, 2=right, 3=middle,...public void doubleSelect(int itemIndex,
int button)
itemIndex - the path or index of the item to double-clickbutton - the index of the mouse button to use to perform the double-click. 1=left, 2=right, 3=middle,...public String getColumnTitle(int itemIndex)
itemIndex - the index of the item. The value is zero-based.public int getColumnWidth(ItemIdentifier item)
item - the item to return the width forpublic int getColumnWidth(String itemText)
itemText - the item to return the width forpublic int getColumnWidth(int itemIndex)
itemIndex - the item to return the width forpublic void resize(ItemIdentifier item, int width)
item - the item to resizewidth - the new width of the header, in pixelspublic void resize(String itemText, int width)
itemText - the item to resizewidth - the new width of the header, in pixelspublic void resize(int itemIndex,
int width)
itemIndex - the item to resizewidth - the new width of the header, in pixelspublic void select(ItemIdentifier item, int button)
item - the path or index of the item to selectbutton - the index of the mouse button to use for selection. 1=left, 2=right, 3=middle,...public void select(String itemText, int button)
itemText - the path or index of the item to selectbutton - the index of the mouse button to use for selection. 1=left, 2=right, 3=middle,...public void select(int itemIndex,
int button)
itemIndex - the path or index of the item to selectbutton - the index of the mouse button to use for selection. 1=left, 2=right, 3=middle,...public int getColumnCount()
Copyright 2009-2012 Micro Focus. All Rights Reserved.