javax.swing.JTextField.reshape()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(98)

本文整理了Java中javax.swing.JTextField.reshape()方法的一些代码示例,展示了JTextField.reshape()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextField.reshape()方法的具体详情如下:
包路径:javax.swing.JTextField
类名称:JTextField
方法名:reshape

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);

相关文章

微信公众号

最新文章

更多

JTextField类方法