|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.pageobjects.elements.Options
public final class Options
Options.IdOption objects factory.
| Nested Class Summary | |
|---|---|
static class |
Options.FullOption
|
static class |
Options.IdOption
|
static class |
Options.TextOption
|
static class |
Options.ValueOption
|
| Constructor Summary | |
|---|---|
Options()
|
|
| Method Summary | |
|---|---|
static Option |
full(String id,
String value,
String text)
New option distinguishable all identifiers. |
static com.google.common.base.Function<Option,String> |
getId()
|
static com.google.common.base.Function<Option,String> |
getText()
|
static com.google.common.base.Function<Option,String> |
getValue()
|
static Options.IdOption |
id(String id)
New option distinguishable by its HTML ID. |
static Options.TextOption |
text(String text)
New option distinguishable by its text between tags |
static Options.ValueOption |
value(String value)
New option distinguishable by its HTML value attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Options()
| Method Detail |
|---|
public static Options.IdOption id(String id)
id - HTML id of the option
public static Options.ValueOption value(String value)
value - HTML value attribute of the option
public static Options.TextOption text(String text)
text - Text between the option tags
public static Option full(String id,
String value,
String text)
null, but at least
one has to be non-null
id - HTML id of the optionvalue - HTML value attribute of the optiontext - Text between the option tags
public static com.google.common.base.Function<Option,String> getValue()
public static com.google.common.base.Function<Option,String> getId()
public static com.google.common.base.Function<Option,String> getText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||