Java 类javax.swing.plaf.InternalFrameUI 实例源码

项目:openjdk-jdk10    文件:JInternalFrameOperator.java   
/**
 * Maps {@code JInternalFrame.getUI()} through queue
 */
public InternalFrameUI getUI() {
    return (runMapping(new MapAction<InternalFrameUI>("getUI") {
        @Override
        public InternalFrameUI map() {
            return ((JInternalFrame) getSource()).getUI();
        }
    }));
}
项目:openjdk-jdk10    文件:JInternalFrameOperator.java   
/**
 * 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);
        }
    });
}
项目:openjdk9    文件:JInternalFrameOperator.java   
/**
 * Maps {@code JInternalFrame.getUI()} through queue
 */
public InternalFrameUI getUI() {
    return (runMapping(new MapAction<InternalFrameUI>("getUI") {
        @Override
        public InternalFrameUI map() {
            return ((JInternalFrame) getSource()).getUI();
        }
    }));
}
项目:openjdk9    文件:JInternalFrameOperator.java   
/**
 * 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);
        }
    });
}
项目:javify    文件:JInternalFrame.java   
/**
 * 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);
}
项目:javify    文件:JInternalFrame.java   
/**
 * 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);
}
项目:jvm-stm    文件:JInternalFrame.java   
/**
 * 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);
}
项目:jvm-stm    文件:JInternalFrame.java   
/**
  * 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);
 }
项目:cn1    文件:JInternalFrame.java   
/**
 * 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);
}
项目:cn1    文件:JInternalFrame.java   
/**
 * 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();
    }
}
项目:JamVM-PH    文件:JInternalFrame.java   
/**
 * 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);
}
项目:JamVM-PH    文件:JInternalFrame.java   
/**
  * 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);
 }
项目:classpath    文件:JInternalFrame.java   
/**
 * 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);
}
项目:classpath    文件:JInternalFrame.java   
/**
 * 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);
}
项目:freeVM    文件:JInternalFrame.java   
/**
 * 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);
}
项目:freeVM    文件:JInternalFrame.java   
/**
 * 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);
}
项目:freeVM    文件:JInternalFrame.java   
/**
 * 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();
    }
}
项目:j2se_for_android    文件:JInternalFrame.java   
public InternalFrameUI getUI() {
    return (InternalFrameUI) null;
}
项目:j2se_for_android    文件:JInternalFrame.java   
public void setUI(InternalFrameUI ui) {
}
项目:freeVM    文件:JInternalFrame.java   
void updateUIForFrame() {
    setUI((InternalFrameUI) UIManager.getUI(this));
}
项目:javify    文件:JInternalFrame.java   
/**
 * This method returns the UI used to represent the JInternalFrame.
 *
 * @return The UI used to represent the JInternalFrame.
 */
public InternalFrameUI getUI()
{
  return (InternalFrameUI) ui;
}
项目:jvm-stm    文件:JInternalFrame.java   
/**
 * This method returns the UI used to represent the JInternalFrame.
 *
 * @return The UI used to represent the JInternalFrame.
 */
public InternalFrameUI getUI()
{
  return (InternalFrameUI) ui;
}
项目:cn1    文件:JInternalFrame.java   
/**
 * Returns the UI object for this component.
 *
 * @return UI object for this component
 */
public InternalFrameUI getUI() {
    return (InternalFrameUI) ui;
}
项目:JamVM-PH    文件:JInternalFrame.java   
/**
 * This method returns the UI used to represent the JInternalFrame.
 *
 * @return The UI used to represent the JInternalFrame.
 */
public InternalFrameUI getUI()
{
  return (InternalFrameUI) ui;
}
项目:classpath    文件:JInternalFrame.java   
/**
 * This method returns the UI used to represent the JInternalFrame.
 *
 * @return The UI used to represent the JInternalFrame.
 */
public InternalFrameUI getUI()
{
  return (InternalFrameUI) ui;
}
项目:freeVM    文件:JInternalFrame.java   
/**
 * Returns the UI object for this component.
 *
 * @return UI object for this component
 */
public InternalFrameUI getUI() {
    return (InternalFrameUI) ui;
}
项目:freeVM    文件:JInternalFrame.java   
/**
 * Returns the UI object for this component.
 *
 * @return UI object for this component
 */
public InternalFrameUI getUI() {
    return (InternalFrameUI) ui;
}