本文整理了Java中elemental.client.Browser.getDocument()
方法的一些代码示例,展示了Browser.getDocument()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Browser.getDocument()
方法的具体详情如下:
包路径:elemental.client.Browser
类名称:Browser
方法名:getDocument
暂无
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* ui constructor.
*
* @param tag name of the tag to generate
*/
@UiConstructor
public SimpleTagPanel(final String tag) {
super((Element) Browser.getDocument().createElement(tag));
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public CheckBox() {
super(Browser.getDocument().createInputElement(), "checkbox", BooleanRenderer.instance(),
BooleanParser.instance());
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public ColorBox() {
super(Browser.getDocument().createInputElement(), "color", PassthroughRenderer.instance(),
PassthroughParser.instance());
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public EmailTextBox() {
super(Browser.getDocument().createInputElement(), "email", PassthroughRenderer.instance(),
PassthroughParser.instance());
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public SearchTextBox() {
super(Browser.getDocument().createInputElement(), "search", PassthroughRenderer.instance(),
PassthroughParser.instance());
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public TimeBox() {
super(Browser.getDocument().createInputElement(), "time", TimeRenderer.instance(),
TimeParser.instance(), null);
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public DateBox() {
super(Browser.getDocument().createInputElement(), "date", DateRenderer.instance(),
DateParser.instance(), null);
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* Creates an empty password text box.
*/
public PasswordTextBox() {
super(Browser.getDocument().createInputElement(), "password", PassthroughRenderer.instance(),
PassthroughParser.instance());
}
}
代码示例来源:origin: ManfredTremmel/gwt-bean-validators
/**
* default constructor.
*/
public EmailTextBox() {
super(Browser.getDocument().createInputElement(), "email", PassthroughRenderer.instance(),
PassthroughParser.instance());
}
代码示例来源:origin: ManfredTremmel/gwt-bean-validators
/**
* default constructor.
*/
public DateBox() {
super(Browser.getDocument().createInputElement(), "date", DateRenderer.instance(),
DateParser.instance(), null);
}
}
代码示例来源:origin: ManfredTremmel/gwt-bean-validators
/**
* default constructor.
*/
public ColorBox() {
super(Browser.getDocument().createInputElement(), "color", PassthroughRenderer.instance(),
PassthroughParser.instance());
}
}
代码示例来源:origin: ManfredTremmel/gwt-bean-validators
/**
* default constructor.
*/
public TimeBox() {
super(Browser.getDocument().createInputElement(), "time", TimeRenderer.instance(),
TimeParser.instance(), null);
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public DecimalBigDecimalBox() {
super(Browser.getDocument().createInputElement(), "text", BigDecimalRenderer.instance(),
BigDecimalParser.instance(), HandlerFactory.getDecimalKeyPressHandler());
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public DecimalDoubleBox() {
super(Browser.getDocument().createInputElement(), "text", DoubleRenderer.instance(),
DoubleParser.instance(), HandlerFactory.getDecimalKeyPressHandler());
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public PercentDoubleBox() {
super(Browser.getDocument().createInputElement(), "text", PercentDoubleRenderer.instance(),
PercentDoubleParser.instance(), DoubleRenderer.instance(), DoubleParser.instance(),
HandlerFactory.getPercentKeyPressHandler());
}
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*
* @param poracle suggest oracle to use
*/
public AbstractPhoneNumberSuggestBox(final SuggestOracle poracle) {
super(poracle, new TextBoxWithFormating(Browser.getDocument().createInputElement(), "tel"));
setWidth("15em");
phoneNumberUtil = new PhoneNumberUtil();
((TextBoxWithFormating) getValueBox()).setFormating(this);
}
代码示例来源:origin: de.knightsoft-net/gwt-mt-widgets
/**
* default constructor.
*/
public CurrencyBigDecimalBox() {
super(Browser.getDocument().createInputElement(), "text", CurrencyBigDecimalRenderer.instance(),
CurrencyBigDecimalParser.instance(), BigDecimalRenderer.instance(),
BigDecimalParser.instance(), HandlerFactory.getCurrencyKeyPressHandler());
}
}
代码示例来源:origin: ManfredTremmel/gwt-bean-validators
/**
* default constructor.
*/
public CurrencyBigDecimalBox() {
super(Browser.getDocument().createInputElement(), "text", CurrencyBigDecimalRenderer.instance(),
CurrencyBigDecimalParser.instance(), BigDecimalRenderer.instance(),
BigDecimalParser.instance(), HandlerFactory.getCurrencyKeyPressHandler());
}
}
代码示例来源:origin: ManfredTremmel/gwt-bean-validators
/**
* default constructor.
*/
public PercentDoubleBox() {
super(Browser.getDocument().createInputElement(), "text", PercentDoubleRenderer.instance(),
PercentDoubleParser.instance(), DoubleRenderer.instance(), DoubleParser.instance(),
HandlerFactory.getPercentKeyPressHandler());
}
}
代码示例来源:origin: ManfredTremmel/gwt-bean-validators
/**
* default constructor.
*/
public CurrencyDoubleBox() {
super(Browser.getDocument().createInputElement(), "text", CurrencyDoubleRenderer.instance(),
CurrencyDoubleParser.instance(), DoubleRenderer.instance(), DoubleParser.instance(),
HandlerFactory.getCurrencyKeyPressHandler());
}
}
内容来源于网络,如有侵权,请联系作者删除!