本文整理了Java中javax.swing.JTable.getUI()
方法的一些代码示例,展示了JTable.getUI()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTable.getUI()
方法的具体详情如下:
包路径:javax.swing.JTable
类名称: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;
内容来源于网络,如有侵权,请联系作者删除!