Java 类javax.swing.plaf.basic.BasicTableHeaderUI 实例源码

项目:cn1    文件:JTableHeaderTest.java   
public void testGetSetUpdateUI() throws Exception {
    assertNotNull(header.getUI());
    TableHeaderUI ui = new BasicTableHeaderUI();
    header.setUI(ui);
    assertSame(ui, header.getUI());
    header.updateUI();
    assertNotNull(header.getUI());
    assertNotSame(ui, header.getUI());
}
项目:freeVM    文件:JTableHeaderTest.java   
public void testGetSetUpdateUI() throws Exception {
    assertNotNull(header.getUI());
    TableHeaderUI ui = new BasicTableHeaderUI();
    header.setUI(ui);
    assertSame(ui, header.getUI());
    header.updateUI();
    assertNotNull(header.getUI());
    assertNotSame(ui, header.getUI());
}
项目:freeVM    文件:JTableHeaderTest.java   
public void testGetSetUpdateUI() throws Exception {
    assertNotNull(header.getUI());
    TableHeaderUI ui = new BasicTableHeaderUI();
    header.setUI(ui);
    assertSame(ui, header.getUI());
    header.updateUI();
    assertNotNull(header.getUI());
    assertNotSame(ui, header.getUI());
}
项目:JBroTable    文件:JBroTableHeaderUI.java   
private Object call( String methodName, Class parameters[], ComponentUI ui, Object args[] ) {
  return call( BasicTableHeaderUI.class, methodName, parameters, ui, args );
}