| org.netbeans.modules.visualweb.gravy.properties.SheetButtonOperator
SheetButtonOperator | public class SheetButtonOperator extends JComponentOperator (Code) | | Handle sheet button in IDE property sheets. SheetButton extends JPanel
and it can show property name, property value or customizer button ("..." button).
It is not recommended to use it directly but to use Property class and its
descendants.
Property |
Inner Class :static class SheetButtonChooser implements ComponentChooser | |
Method Summary | |
public void | clickForPopup() If needed, it scrolls to be this button visible, and clicks for popup
on this button. | public static SheetButtonOperator | customizerButton(ContainerOperator contOper) Waits for customizer button ("..." button) in given ContainerOperator. | public String | getLabel() Gets label of this sheet button. | public int | getNameButtonIndex() Gets index (row) of name button in property sheet. | public static synchronized SheetButtonOperator | nameButton(ContainerOperator contOper, String propertyName) Waits for sheet button representing specified property name. | public static SheetButtonOperator | nameButton(ContainerOperator contOper, int index) Waits for index-th sheet button representing property name. | public void | push() If needed, it scrolls to be this button visible, and clicks on
this button by mouse. | public void | pushNoBlock() If needed, it scrolls to be this button visible, and clicks
on this button by mouse and no block further execution. | public static SheetButtonOperator | valueButton(ContainerOperator contOper, int nameButtonIndex) Waits for sheet button representing value of property. | static Component | waitPropertyPanel(ContainerOperator contOper, int nameButtonIndex) Waits org.openide.explorer.propertysheet.PropertyPanel with given index. |
clickForPopup | public void clickForPopup()(Code) | | If needed, it scrolls to be this button visible, and clicks for popup
on this button.
|
customizerButton | public static SheetButtonOperator customizerButton(ContainerOperator contOper)(Code) | | Waits for customizer button ("..." button) in given ContainerOperator.
Parameters: contOper - where to find button SheetButtonOperator instanceProperty |
getLabel | public String getLabel()(Code) | | Gets label of this sheet button.
label of this button |
getNameButtonIndex | public int getNameButtonIndex()(Code) | | Gets index (row) of name button in property sheet. Each row represents
one property.
index (row) of name button |
nameButton | public static SheetButtonOperator nameButton(ContainerOperator contOper, int index)(Code) | | Waits for index-th sheet button representing property name. It sets
index of button in sheet.
Parameters: contOper - where to find button Parameters: index - index of button (row in sheet - starts at 0) SheetButtonOperator instance See Also: SheetButtonOperator.getNameButtonIndex()Property |
push | public void push()(Code) | | If needed, it scrolls to be this button visible, and clicks on
this button by mouse.
|
pushNoBlock | public void pushNoBlock()(Code) | | If needed, it scrolls to be this button visible, and clicks
on this button by mouse and no block further execution.
|
valueButton | public static SheetButtonOperator valueButton(ContainerOperator contOper, int nameButtonIndex)(Code) | | Waits for sheet button representing value of property. It is identified
by index which can be found by name button.
Parameters: contOper - where to find Parameters: nameButtonIndex - index of property in sheet SheetButtonOperator instanceProperty |
waitPropertyPanel | static Component waitPropertyPanel(ContainerOperator contOper, int nameButtonIndex)(Code) | | Waits org.openide.explorer.propertysheet.PropertyPanel with given index.
PropertyPanel represents container for a value both in editable and
non editable states.
|
|
|