本文整理了Java中com.google.gwt.user.client.ui.TextArea.getTextAreaElement()
方法的一些代码示例,展示了TextArea.getTextAreaElement()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextArea.getTextAreaElement()
方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.TextArea
类名称:TextArea
方法名:getTextAreaElement
暂无
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Sets the requested width of the text box (this is not an exact value, as
* not all characters are created equal).
*
* @param width the requested width, in characters
*/
public void setCharacterWidth(int width) {
getTextAreaElement().setCols(width);
}
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Gets the number of text lines that are visible.
*
* @return the number of visible lines
*/
public int getVisibleLines() {
return getTextAreaElement().getRows();
}
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Sets the number of text lines that are visible.
*
* @param lines the number of visible lines
*/
public void setVisibleLines(int lines) {
getTextAreaElement().setRows(lines);
}
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Gets the requested width of the text box (this is not an exact value, as
* not all characters are created equal).
*
* @return the requested width, in characters
*/
public int getCharacterWidth() {
return getTextAreaElement().getCols();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Sets the number of text lines that are visible.
*
* @param lines the number of visible lines
*/
public void setVisibleLines(int lines) {
getTextAreaElement().setRows(lines);
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Sets the requested width of the text box (this is not an exact value, as
* not all characters are created equal).
*
* @param width the requested width, in characters
*/
public void setCharacterWidth(int width) {
getTextAreaElement().setCols(width);
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Gets the requested width of the text box (this is not an exact value, as
* not all characters are created equal).
*
* @return the requested width, in characters
*/
public int getCharacterWidth() {
return getTextAreaElement().getCols();
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Gets the number of text lines that are visible.
*
* @return the number of visible lines
*/
public int getVisibleLines() {
return getTextAreaElement().getRows();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Gets the requested width of the text box (this is not an exact value, as
* not all characters are created equal).
*
* @return the requested width, in characters
*/
public int getCharacterWidth() {
return getTextAreaElement().getCols();
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Sets the requested width of the text box (this is not an exact value, as
* not all characters are created equal).
*
* @param width the requested width, in characters
*/
public void setCharacterWidth(int width) {
getTextAreaElement().setCols(width);
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Sets the number of text lines that are visible.
*
* @param lines the number of visible lines
*/
public void setVisibleLines(int lines) {
getTextAreaElement().setRows(lines);
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Gets the number of text lines that are visible.
*
* @return the number of visible lines
*/
public int getVisibleLines() {
return getTextAreaElement().getRows();
}
内容来源于网络,如有侵权,请联系作者删除!