當前位置: 首頁>>代碼示例>>Java>>正文


Java TaskPaneUI類代碼示例

本文整理匯總了Java中org.jdesktop.swingx.plaf.TaskPaneUI的典型用法代碼示例。如果您正苦於以下問題:Java TaskPaneUI類的具體用法?Java TaskPaneUI怎麽用?Java TaskPaneUI使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


TaskPaneUI類屬於org.jdesktop.swingx.plaf包,在下文中一共展示了TaskPaneUI類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: updateUI

import org.jdesktop.swingx.plaf.TaskPaneUI; //導入依賴的package包/類
/**
 * Notification from the <code>UIManager</code> that the L&F has changed.
 * Replaces the current UI object with the latest version from the <code>UIManager</code>.
 * 
 * @see javax.swing.JComponent#updateUI
 */
@Override
public void updateUI() {
  // collapsePane is null when updateUI() is called by the "super()"
  // constructor
  if (collapsePane == null) {
    return;
  }
  setUI((TaskPaneUI)LookAndFeelAddons.getUI(this, TaskPaneUI.class));
}
 
開發者ID:RockManJoe64,項目名稱:swingx,代碼行數:16,代碼來源:JXTaskPane.java

示例2: setUI

import org.jdesktop.swingx.plaf.TaskPaneUI; //導入依賴的package包/類
/**
 * Sets the L&F object that renders this component.
 * 
 * @param ui the <code>TaskPaneUI</code> L&F object
 * @see javax.swing.UIDefaults#getUI
 * 
 * @beaninfo bound: true hidden: true description: The UI object that
 * implements the taskpane group's LookAndFeel.
 */
public void setUI(TaskPaneUI ui) {
  super.setUI(ui);
}
 
開發者ID:RockManJoe64,項目名稱:swingx,代碼行數:13,代碼來源:JXTaskPane.java

示例3: add

import org.jdesktop.swingx.plaf.TaskPaneUI; //導入依賴的package包/類
/**
 * Adds an action to this <code>JXTaskPane</code>. Returns a
 * component built from the action. The returned component has been
 * added to the <code>JXTaskPane</code>.
 * 
 * @param action
 * @return a component built from the action
 */
public Component add(Action action) {
  Component c = ((TaskPaneUI)ui).createAction(action);
  add(c);
  return c;
}
 
開發者ID:RockManJoe64,項目名稱:swingx,代碼行數:14,代碼來源:JXTaskPane.java


注:本文中的org.jdesktop.swingx.plaf.TaskPaneUI類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。