javax.swing.JTable.getUI()方法的使用及代码示例

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

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

JTable.getUI介绍

暂无

代码示例

代码示例来源:origin: org.appdapter/org.appdapter.lib.gui

@Override public TableUI getUI() {
  return super.getUI();
}

代码示例来源:origin: khuxtable/seaglass

/**
 * Static wrapper around {@link forceInstallRenderer(Class objectClass)}.
 *
 * @param table       the table to install the renderer on.
 * @param objectClass the class to install the renderer on.
 */
public static void forceInstallRenderer(JTable table, Class objectClass) {
  if (table.getUI() instanceof SeaGlassTableUI) {
    ((SeaGlassTableUI) table.getUI()).forceInstallRenderer(objectClass);
  }
}

代码示例来源:origin: com.fifesoft.rtext/fife.common

private static boolean substanceAndRollover(JTable table, int row,
    int col) {
  // Already know we're Substance if this renderer is installed...
  SubstanceTableUI ui = (SubstanceTableUI)table.getUI();
  TableCellId cellId = new TableCellId(row, col);
  ComponentState state = ui.getCellState(cellId);
  return state==ComponentState.ROLLOVER_ARMED ||
      state==ComponentState.ROLLOVER_SELECTED ||
      state==ComponentState.ROLLOVER_UNSELECTED;
}

代码示例来源:origin: com.fifesoft.rtext/fife.common

private static boolean substanceAndRollover(JTable table, int row,
    int col) {
  // Already know we're Substance if this renderer is installed...
  SubstanceTableUI ui = (SubstanceTableUI)table.getUI();
  TableCellId cellId = new TableCellId(row, col);
  ComponentState state = ui.getCellState(cellId);
  return state==ComponentState.ROLLOVER_ARMED ||
      state==ComponentState.ROLLOVER_SELECTED ||
      state==ComponentState.ROLLOVER_UNSELECTED;
}

代码示例来源:origin: org.java.net.substance/substance

return;
TableUI ui = table.getUI();
if (!(ui instanceof SubstanceTableUI)) {
  stateTransitionMultiTracker.clear();

代码示例来源:origin: com.github.insubstantial/substance

return;
TableUI ui = table.getUI();
if (!(ui instanceof SubstanceTableUI)) {
  stateTransitionMultiTracker.clear();

代码示例来源:origin: org.java.net.substance/substance

this.setEnabled(table.isEnabled());
TableUI tableUI = table.getUI();
if (tableUI instanceof SubstanceTableUI) {
  SubstanceTableUI ui = (SubstanceTableUI) tableUI;

代码示例来源:origin: com.github.insubstantial/substance

columnIndex);
if ((table != null)
    && (table.getUI() instanceof SubstanceTableUI)) {
  SubstanceTableUI tableUI = (SubstanceTableUI) table.getUI();
  int rolledOverIndex = tableUI.getRolloverColumnIndex();
  isRollover = (rolledOverIndex >= 0)

代码示例来源:origin: org.java.net.substance/substance

columnIndex);
if ((table != null)
    && (table.getUI() instanceof SubstanceTableUI)) {
  SubstanceTableUI tableUI = (SubstanceTableUI) table.getUI();
  int rolledOverIndex = tableUI.getRolloverColumnIndex();
  isRollover = (rolledOverIndex >= 0)

代码示例来源:origin: com.eas.platypus/platypus-js-scalable-widget

TableUI tui = jTable.getUI();

代码示例来源:origin: com.github.insubstantial/substance

this.setEnabled(table.isEnabled());
TableUI tableUI = table.getUI();
if (tableUI instanceof SubstanceTableUI) {
  SubstanceTableUI ui = (SubstanceTableUI) tableUI;

代码示例来源:origin: com.github.insubstantial/substance

TableUI tableUI = table.getUI();
if (SubstanceLookAndFeel.isCurrentLookAndFeel()
    && (tableUI instanceof SubstanceTableUI)) {

代码示例来源:origin: org.java.net.substance/substance

TableUI tableUI = table.getUI();
if (SubstanceLookAndFeel.isCurrentLookAndFeel()
    && (tableUI instanceof SubstanceTableUI)) {

代码示例来源:origin: com.github.insubstantial/substance

isSelected, hasFocus, row, column);
TableUI tableUI = table.getUI();
SubstanceTableUI ui = (SubstanceTableUI) tableUI;

代码示例来源:origin: org.java.net.substance/substance

isSelected, hasFocus, row, column);
TableUI tableUI = table.getUI();
SubstanceTableUI ui = (SubstanceTableUI) tableUI;

相关文章

JTable类方法