本文整理了Java中javax.swing.table.TableModel.isCellEditable()
方法的一些代码示例,展示了TableModel.isCellEditable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableModel.isCellEditable()
方法的具体详情如下:
包路径:javax.swing.table.TableModel
类名称:TableModel
方法名:isCellEditable
暂无
代码示例来源:origin: groovy/groovy-core
public boolean isCellEditable(int row, int column) {
return model.isCellEditable(row, column);
}
//
代码示例来源:origin: stackoverflow.com
boolean type = (Boolean) getModel().getValueAt(modelRow, 2);
boolean type1 = (Boolean) getModel().getValueAt(modelRow, 3);
boolean type2 = (Boolean) getModel().isCellEditable(row, column);
comp.setForeground(Color.black);
if ((type) && (!type1)) {
代码示例来源:origin: com.eas.platypus/platypus-js-grid
/**
* {@inheritDoc}
*/
@Override
public boolean isCellEditable(int rowIndex, int columnIndex) {
return delegate.isCellEditable(rowIndex, columnIndex);
}
代码示例来源:origin: in.jlibs/org-netbeans-swing-outline
public boolean isCellEditable(int rowIndex, int columnIndex) {
if (columnIndex == 0) {
return false; //XXX support editing of node names
} else {
return tableModel.isCellEditable(rowIndex, columnIndex-1);
}
}
代码示例来源:origin: freeplane/freeplane
@Override
public boolean isCellEditable(int rowIndex, int columnIndex) {
return tableModel.isCellEditable(rowIndex, columnIndex);
}
代码示例来源:origin: sing-group/GC4S
@Override
public boolean isCellEditable(int rowIndex, int columnIndex) {
return columnIndex == 0 ?
false : wrappedTM.isCellEditable(rowIndex, columnIndex - 1);
}
代码示例来源:origin: webwork/webwork-jira
public boolean isCellEditable(int r, int c)
{
if(rows.size() > 0 && r < rows.size())
{
return model.isCellEditable(((Row)rows.get(r)).index, c);
}
return false;
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
* {@inheritDoc}
*/
@Override
public boolean isCellEditable(int row, int column) {
return table.getModel().isCellEditable(row, column);
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* {@inheritDoc}
*/
@Override
public boolean isCellEditable(int row, int column) {
return table.getModel().isCellEditable(row, column);
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* {@inheritDoc}
*/
@Override
public boolean isCellEditable(int row, int column) {
return table.getModel().isCellEditable(row, column);
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* {@inheritDoc}
*/
@Override
public boolean isCellEditable(int row, int column) {
return table.getModel().isCellEditable(row, column);
}
代码示例来源:origin: org.bitbucket.goalhub.simpleide/jedit
public boolean isCellEditable(int rowIndex, int columnIndex)
{
int trueRowIndex = getTrueRow(rowIndex);
return delegated.isCellEditable(trueRowIndex, columnIndex);
} //}}}
代码示例来源:origin: freeplane/freeplane
@Override
public boolean isCellEditable(final int row, final int column) {
return tableModel.isCellEditable(modelIndex(row), column);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-bugtracking-commons
@Override
public boolean isCellEditable(int row, int column) {
return tableModel.isCellEditable(modelIndex(row), column);
}
代码示例来源:origin: net.java.dev.jets3t/jets3t
@Override
public boolean isCellEditable(int row, int column) {
return tableModel.isCellEditable(modelIndex(row), column);
}
代码示例来源:origin: net.sf.cuf/cuf-swing
public boolean isCellEditable(final int pRow, final int pColumn)
{
return mTableModel.isCellEditable(modelIndex(pRow), pColumn);
}
代码示例来源:origin: xyz.cofe/gui.swing
@Override
public boolean isCellEditable(int rowIndex, int columnIndex) {
if(tableModel==null)return false;
int c = mapColumnToInside(columnIndex);
if( c<0 )return false;
int r = mapRowToInside(rowIndex);
if( r<0 )return false;
return tableModel.isCellEditable(r, c);
}
代码示例来源:origin: com.eas.platypus/platypus-js-grid
@Override
public boolean isCellEditable(int aRowIndex, int aColIndex) {
if (isLegal(aRowIndex) && isLegal(aColIndex)) {
return delegate.isCellEditable(aRowIndex, aColIndex);
} else {
return false;
}
}
代码示例来源:origin: pentaho/pentaho-reporting
public boolean isCellEditable( final int row, final int column ) {
final int columnIndex = convertColumnIndexToModel( column );
if ( getModel().isCellEditable( row, columnIndex ) ) {
if ( getCellEditor( row, columnIndex ) == null ) {
// no editor, so not editable ...
return false;
}
return true;
}
return false;
}
代码示例来源:origin: xyz.cofe/gui.swing
@Override
public boolean isCellEditable(int rowIndex, int columnIndex) {
if( tableModels==null )return false;
if( tableModels.size()==0 )return false;
Pair<TableModel,Integer> pTC = getTMColumn(columnIndex);
if( pTC==null )return false;
return pTC.A().isCellEditable(rowIndex,pTC.B());
}
内容来源于网络,如有侵权,请联系作者删除!