当前位置: 首页>>代码示例>>Java>>正文


Java InternalFrameUI类代码示例

本文整理汇总了Java中javax.swing.plaf.InternalFrameUI的典型用法代码示例。如果您正苦于以下问题:Java InternalFrameUI类的具体用法?Java InternalFrameUI怎么用?Java InternalFrameUI使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


InternalFrameUI类属于javax.swing.plaf包,在下文中一共展示了InternalFrameUI类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * Maps {@code JInternalFrame.getUI()} through queue
 */
public InternalFrameUI getUI() {
    return (runMapping(new MapAction<InternalFrameUI>("getUI") {
        @Override
        public InternalFrameUI map() {
            return ((JInternalFrame) getSource()).getUI();
        }
    }));
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:JInternalFrameOperator.java

示例2: setUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * Maps {@code JInternalFrame.setUI(InternalFrameUI)} through queue
 */
public void setUI(final InternalFrameUI internalFrameUI) {
    runMapping(new MapVoidAction("setUI") {
        @Override
        public void map() {
            ((JInternalFrame) getSource()).setUI(internalFrameUI);
        }
    });
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:JInternalFrameOperator.java

示例3: setUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * This method is used to set the UI responsible for the JInternalFrame.
 *
 * @param ui The UI responsible for the JInternalFrame.
 */
public void setUI(InternalFrameUI ui)
{
  // We must temporarily go into init mode so that the UI can directly
  // manipulate the JInternalFrame.
  boolean old = isRootPaneCheckingEnabled();
  setRootPaneCheckingEnabled(false);
  super.setUI(ui);
  setRootPaneCheckingEnabled(old);
}
 
开发者ID:vilie,项目名称:javify,代码行数:15,代码来源:JInternalFrame.java

示例4: updateUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * This method resets the UI to the Look and Feel defaults.
 */
public void updateUI()
{
  // We must go into the init stage when updating the UI, so the UI can
  // set layout and components directly on the internal frame, not its
  // content pane.
      boolean old = isRootPaneCheckingEnabled();
  setRootPaneCheckingEnabled(false);
  setUI((InternalFrameUI) UIManager.getUI(this));
  setRootPaneCheckingEnabled(old);
}
 
开发者ID:vilie,项目名称:javify,代码行数:14,代码来源:JInternalFrame.java

示例5: updateUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
  * This method resets the UI to the Look and Feel defaults.
  */
 public void updateUI()
 {
   // We must go into the init stage when updating the UI, so the UI can
   // set layout and components directly on the internal frame, not its
   // content pane.
boolean old = isRootPaneCheckingEnabled();
   setRootPaneCheckingEnabled(false);
   setUI((InternalFrameUI) UIManager.getUI(this));
   setRootPaneCheckingEnabled(old);
 }
 
开发者ID:nmldiegues,项目名称:jvm-stm,代码行数:14,代码来源:JInternalFrame.java

示例6: setUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * Sets the UI object for this component.
 *
 * @param ui the UI object to set
 */
public void setUI(final InternalFrameUI ui) {
    // setUI() from super (JComponent) should always be called
    // strange manipulations with 'enabled', but they are necessary
    boolean enabled = isRootPaneCheckingEnabled();
    setRootPaneCheckingEnabled(false);
    super.setUI(ui);
    setRootPaneCheckingEnabled(enabled);
}
 
开发者ID:shannah,项目名称:cn1,代码行数:14,代码来源:JInternalFrame.java

示例7: updateUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * Updates <code>UI's</code> for both <code>JInternalFrame</code>
 * and <code>JDesktopIcon</code>.
 */
@Override
public void updateUI() {
	setUI((InternalFrameUI) UIManager.getUI(this));
	
    if (getDesktopIcon() != null) {
        getDesktopIcon().updateUIForIcon();
    }
}
 
开发者ID:shannah,项目名称:cn1,代码行数:13,代码来源:JInternalFrame.java

示例8: getUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
public InternalFrameUI getUI() {
	return (InternalFrameUI) null;
}
 
开发者ID:javalovercn,项目名称:j2se_for_android,代码行数:4,代码来源:JInternalFrame.java

示例9: setUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
public void setUI(InternalFrameUI ui) {
}
 
开发者ID:javalovercn,项目名称:j2se_for_android,代码行数:3,代码来源:JInternalFrame.java

示例10: updateUIForFrame

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
void updateUIForFrame() {
    setUI((InternalFrameUI) UIManager.getUI(this));
}
 
开发者ID:freeVM,项目名称:freeVM,代码行数:4,代码来源:JInternalFrame.java

示例11: getUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * This method returns the UI used to represent the JInternalFrame.
 *
 * @return The UI used to represent the JInternalFrame.
 */
public InternalFrameUI getUI()
{
  return (InternalFrameUI) ui;
}
 
开发者ID:vilie,项目名称:javify,代码行数:10,代码来源:JInternalFrame.java

示例12: getUI

import javax.swing.plaf.InternalFrameUI; //导入依赖的package包/类
/**
 * Returns the UI object for this component.
 *
 * @return UI object for this component
 */
public InternalFrameUI getUI() {
    return (InternalFrameUI) ui;
}
 
开发者ID:shannah,项目名称:cn1,代码行数:9,代码来源:JInternalFrame.java


注:本文中的javax.swing.plaf.InternalFrameUI类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。