本文整理了Java中javax.swing.JTable.getName()
方法的一些代码示例,展示了JTable.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTable.getName()
方法的具体详情如下:
包路径:javax.swing.JTable
类名称:JTable
方法名:getName
暂无
代码示例来源:origin: stackoverflow.com
public ArrayList<JTable> getTable()
{
return List;
}
public void AddT(JTable tl)
{
if(tl.getName()!=null)
{getTable().add(tl);}
else return;
}
代码示例来源:origin: otros-systems/otroslogviewer
@Override
protected boolean isMatching(@Nonnull JTable component) {
LOGGER.info("Checking: {} {}", component.getName(), component.getRowCount());
return true;
}
});
代码示例来源:origin: joel-costigliola/assertj-swing
/**
* Returns the {@code String} representation of the given {@code Component}, which should be a {@code JTable}.
*
* @param c the given {@code Component}.
* @return the {@code String} representation of the given {@code JTable}.
*/
@Override
@Nonnull protected String doFormat(@Nonnull Component c) {
JTable table = (JTable) c;
String format = "%s[name=%s, rowCount=%d, columnCount=%d, enabled=%b, visible=%b, showing=%b]";
return String.format(format, getRealClassName(c), quote(table.getName()), table.getRowCount(),
table.getColumnCount(), table.isEnabled(), table.isVisible(), table.isShowing());
}
代码示例来源:origin: net.sf.cuf/cuf-swing
String prefix = (pPrefix == null ? pTable.getName() : pPrefix);
prefix = (prefix == null ? TABLE : prefix);
代码示例来源:origin: net.sf.cuf/cuf-swing
String prefix = (pPrefix == null ? pTable.getName() : pPrefix);
prefix = (prefix == null ? TABLE : prefix);
代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget
JTable t = (JTable) evt.getNewValue();
if (t != null) {
log.info("table has changed ! " + t.getName());
for (int i = 0, columnCount = t.getColumnCount(); i < columnCount; i++) {
TableColumn column = t.getColumnModel().getColumn(i);
代码示例来源:origin: org.owasp.jbrofuzz/jbrofuzz
public void actionPerformed(final ActionEvent e) {
if (area.getName().equalsIgnoreCase(PayloadsDialog.NAME_FUZZER)) {
if (area.getName().equalsIgnoreCase(
PayloadsDialog.NAME_CATEGORY)) {
if (area.getName()
.equalsIgnoreCase(PayloadsDialog.NAME_PAYLOAD)) {
内容来源于网络,如有侵权,请联系作者删除!