本文整理了Java中javax.swing.JTextField.reshape()
方法的一些代码示例,展示了JTextField.reshape()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextField.reshape()
方法的具体详情如下:
包路径:javax.swing.JTextField
类名称:JTextField
方法名:reshape
暂无
代码示例来源:origin: org.activecomponents.jadex/jadex-commons-gui
@SuppressWarnings("deprecation")
public void reshape(int x, int y, int w, int h) {
int newX = Math.max(x, offset);
super.reshape(newX, y, w - (newX - x), h);
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
public void reshape(int x, int y, int w, int h) {
int newX = Math.max(x, offset);
super.reshape(newX, y, w - (newX - x), h);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
public void reshape(int x, int y, int w, int h) {
int newX = Math.max(x, offset);
super.reshape(newX, y, w - (newX - x), h);
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
int nodeStart = cellRect.x + nodeRect.x + iconWidth;
int nodeEnd = cellRect.x + cellRect.width;
super.reshape(nodeStart, y, nodeEnd - nodeStart, height);
super.reshape(cellRect.x + nodeRect.x, y, width, height);
代码示例来源:origin: org.swinglabs.swingx/swingx-all
int nodeStart = cellRect.x + nodeRect.x + iconWidth;
int nodeEnd = cellRect.x + cellRect.width;
super.reshape(nodeStart, y, nodeEnd - nodeStart, height);
super.reshape(cellRect.x + nodeRect.x, y, width, height);
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
int nodeStart = cellRect.x + nodeRect.x + iconWidth;
int nodeEnd = cellRect.x + cellRect.width;
super.reshape(nodeStart, y, nodeEnd - nodeStart, height);
super.reshape(cellRect.x + nodeRect.x, y, width, height);
代码示例来源:origin: org.swinglabs.swingx/swingx-core
int nodeStart = cellRect.x + nodeRect.x + iconWidth;
int nodeEnd = cellRect.x + cellRect.width;
super.reshape(nodeStart, y, nodeEnd - nodeStart, height);
super.reshape(cellRect.x + nodeRect.x, y, width, height);
代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop
int newOffset = offset - getInsets().left;
super.reshape(x + newOffset, y, width - newOffset, height);
} else {
width = table.getColumnModel().getColumn(getBidiTreeColumn()).getWidth();
width = width - (width - newOffset - this.width);
super.reshape(pos, y, width, height);
内容来源于网络,如有侵权,请联系作者删除!