本文整理汇总了Java中com.intellij.ui.BooleanTableCellEditor类的典型用法代码示例。如果您正苦于以下问题:Java BooleanTableCellEditor类的具体用法?Java BooleanTableCellEditor怎么用?Java BooleanTableCellEditor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BooleanTableCellEditor类属于com.intellij.ui包,在下文中一共展示了BooleanTableCellEditor类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: setTableEditor
import com.intellij.ui.BooleanTableCellEditor; //导入依赖的package包/类
public void setTableEditor(JTable table) {
this.table = table;
TableColumnModel columnModel = table.getColumnModel();
columnModel.getColumn(COL_CHECK).setCellRenderer(new BooleanTableCellRenderer());
columnModel.getColumn(COL_CHECK).setCellEditor(new BooleanTableCellEditor());
columnModel.getColumn(COL_CHECK).setPreferredWidth(50);
columnModel.getColumn(COL_TABLE).setPreferredWidth(100);
JTableHeader header = table.getTableHeader();
header.setDefaultRenderer(new ClassTableHeaderRenderer(table, true));
}
开发者ID:Jamling,项目名称:Android-ORM-ASPlugin,代码行数:12,代码来源:ClassTableModel.java
示例2: CloudLibraryTable
import com.intellij.ui.BooleanTableCellEditor; //导入依赖的package包/类
CloudLibraryTable(List<CloudLibrary> libraries) {
super(new CloudLibraryTableModel(libraries));
setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
setDefaultRenderer(CloudLibrary.class, new CloudLibraryRenderer());
setDefaultRenderer(Boolean.class, new BooleanTableCellRenderer());
setDefaultEditor(Boolean.class, new BooleanTableCellEditor());
TableUtil.setupCheckboxColumn(getColumnModel().getColumn(1));
}
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-intellij,代码行数:9,代码来源:GoogleCloudApiSelectorPanel.java
示例3: getEditor
import com.intellij.ui.BooleanTableCellEditor; //导入依赖的package包/类
@Override
public TableCellEditor getEditor(final IdeaPluginDescriptor o) {
return new BooleanTableCellEditor();
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:InstalledPluginsTableModel.java
示例4: getEditor
import com.intellij.ui.BooleanTableCellEditor; //导入依赖的package包/类
public TableCellEditor getEditor(final IdeaPluginDescriptor o) {
return new BooleanTableCellEditor();
}
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:4,代码来源:InstalledPluginsTableModel.java
注:本文中的com.intellij.ui.BooleanTableCellEditor类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论