本文整理了Java中javax.swing.table.AbstractTableModel.getColumnClass()
方法的一些代码示例,展示了AbstractTableModel.getColumnClass()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractTableModel.getColumnClass()
方法的具体详情如下:
包路径:javax.swing.table.AbstractTableModel
类名称:AbstractTableModel
方法名:getColumnClass
暂无
代码示例来源:origin: openpnp/openpnp
@Override
public Class<?> getColumnClass(int columnIndex) {
if (columnIndex == 3) {
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: com.github.danielpacak.osgi.swingconsole/osgi.swingconsole
@Override
public Class<?> getColumnClass(int columnIndex) {
switch (columnIndex) {
case COLUMN_ID:
return Long.class;
default:
return super.getColumnClass(columnIndex);
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf
public Class getColumnClass(int column)
{
switch (column)
{
case COLUMN_FILENAME :
return File.class;
case COLUMN_FILEDATE :
return Date.class;
default :
return super.getColumnClass(column);
}
}
代码示例来源:origin: robward-scisys/sldeditor
@Override
public Class<?> getColumnClass(int columnIndex) {
if (columnIndex == 1) {
return String.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: protegeproject/protege
public Class<?> getColumnClass(int columnIndex) {
if (columnIndex == 0) {
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
/**
* Returns the column class.
*/
public Class<?> getColumnClass(int columnIndex)
{
if (columnIndex > 0)
{
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
/**
* Returns the column class.
*/
public Class<?> getColumnClass(int columnIndex)
{
if ((columnIndex == 1) || (columnIndex == 2))
{
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.protege/protege-editor-core-application
public Class<?> getColumnClass(int columnIndex) {
if (columnIndex == 0) {
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
/**
* Returns the column class.
*/
public Class<?> getColumnClass(int columnIndex)
{
if(columnIndex == 2 || columnIndex==4)
{
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
/**
* Returns the column class.
*/
public Class<?> getColumnClass(int columnIndex)
{
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
/**
* Returns the column class.
*/
public Class<?> getColumnClass(int columnIndex)
{
if (columnIndex == 4)
{
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: openpnp/openpnp
@Override
public Class<?> getColumnClass(int columnIndex) {
if (columnIndex == 1) {
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: otros-systems/otroslogviewer
@Override
public Class<?> getColumnClass(int columnIndex) {
if (columnIndex == COLUMN_NAME) {
return FileNameWithType.class;
} else if (columnIndex == COLUMN_TYPE) {
return FileType.class;
} else if (columnIndex == COLUMN_SIZE) {
return FileSize.class;
} else if (columnIndex == COLUMN_LAST_MOD_DATE) {
return Date.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: freeplane/freeplane
@Override
public Class<?> getColumnClass(int columnIndex) {
switch(columnIndex){
case 0:
case 3: return Boolean.class;
case 1: return ASelectableCondition.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-project
@Override
public Class<?> getColumnClass(int columnIndex) {
switch (columnIndex) {
case 0:
return Boolean.class;
case 1:
return PhpFrameworkProvider.class;
default:
assert false : "Unknown column index: " + columnIndex;
break;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: edu.stanford.protege/org.protege.editor.core.application
public Class<?> getColumnClass(int columnIndex) {
if (columnIndex == 0) {
return Boolean.class;
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.zaproxy/zap
@Override
public Class<?> getColumnClass(int columnIndex) {
switch (columnIndex) {
case 0:
return Boolean.class;
case 1:
return String.class;
default:
return super.getColumnClass(columnIndex);
}
}
代码示例来源:origin: org.jspresso.framework/jspresso-wings-application
/**
* {@inheritDoc}
*/
@Override
public Class<?> getColumnClass(int columnIndex) {
if (columnClasses != null) {
return columnClasses.get(columnIndex);
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: org.jspresso.framework/jspresso-swing-application
/**
* {@inheritDoc}
*/
@Override
public Class<?> getColumnClass(int columnIndex) {
if (columnClasses != null) {
return columnClasses.get(columnIndex);
}
return super.getColumnClass(columnIndex);
}
代码示例来源:origin: protegeproject/swrlapi
@Override public Class<?> getColumnClass(int columnIndex)
{
if (columnIndex == getRuleActiveColumnNumber()) {
return Boolean.class;
} else {
return super.getColumnClass(columnIndex);
}
}
内容来源于网络,如有侵权,请联系作者删除!