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

项目:incubator-netbeans    文件:PSheet.java   
/**
 * Find the MarginViewportUI owned by the scrollpane, to set up
 * colors, margin, empty string */
private MarginViewportUI findMVUI() {
    MarginViewportUI result = null;
    JScrollPane pane = findScrollPane();

    if (pane != null) {
        ViewportUI ui = pane.getViewport().getUI();

        if (ui instanceof MarginViewportUI) {
            result = (MarginViewportUI) ui;
        } else {
            //L&F changed or something such
            result = (MarginViewportUI) MarginViewportUI.createUI(pane.getViewport());
            pane.getViewport().setUI(result);
        }
    }

    return result;
}
项目:j2se_for_android    文件:JViewport.java   
public ViewportUI getUI() {
    return null;
}
项目:j2se_for_android    文件:JViewport.java   
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:javify    文件:JViewport.java   
/**
 * This method resets the UI used to the Look and Feel defaults..
 */
public void updateUI()
{
  setUI((ViewportUI) UIManager.getUI(this));
}
项目:jvm-stm    文件:JViewport.java   
/**
 * This method resets the UI used to the Look and Feel defaults..
 */
public void updateUI()
{
  setUI((ViewportUI) UIManager.getUI(this));
}
项目:cn1    文件:JViewport.java   
public void setUI(final ViewportUI ui) {
    super.setUI(ui);
}
项目:cn1    文件:JViewport.java   
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:cn1    文件:JViewport.java   
@Override
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:JamVM-PH    文件:JViewport.java   
/**
 * This method resets the UI used to the Look and Feel defaults..
 */
public void updateUI()
{
  setUI((ViewportUI) UIManager.getUI(this));
}
项目:classpath    文件:JViewport.java   
/**
 * This method resets the UI used to the Look and Feel defaults..
 */
public void updateUI()
{
  setUI((ViewportUI) UIManager.getUI(this));
}
项目:freeVM    文件:JViewport.java   
public void setUI(final ViewportUI ui) {
    super.setUI(ui);
}
项目:freeVM    文件:JViewport.java   
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:freeVM    文件:JViewport.java   
@Override
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:freeVM    文件:JViewport.java   
public void setUI(final ViewportUI ui) {
    super.setUI(ui);
}
项目:freeVM    文件:JViewport.java   
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:freeVM    文件:JViewport.java   
@Override
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:OpenJSharp    文件:JViewport.java   
/**
 * Returns the L&F object that renders this component.
 *
 * @return a <code>ViewportUI</code> object
 * @since 1.3
 */
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:OpenJSharp    文件:JViewport.java   
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ViewportUI</code> L&amp;F object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 * @since 1.3
 */
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:OpenJSharp    文件:JViewport.java   
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:jdk8u-jdk    文件:JViewport.java   
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return a <code>ViewportUI</code> object
 * @since 1.3
 */
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:jdk8u-jdk    文件:JViewport.java   
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ViewportUI</code> L&amp;F object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 * @since 1.3
 */
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:jdk8u-jdk    文件:JViewport.java   
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:openjdk-jdk10    文件:JViewport.java   
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return a <code>ViewportUI</code> object
 * @since 1.3
 */
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:openjdk-jdk10    文件:JViewport.java   
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ViewportUI</code> L&amp;F object
 * @see UIDefaults#getUI
 * @since 1.3
 */
@BeanProperty(hidden = true, visualUpdate = true, description
        = "The UI object that implements the Component's LookAndFeel.")
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:openjdk-jdk10    文件:JViewport.java   
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:openjdk9    文件:JViewport.java   
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return a <code>ViewportUI</code> object
 * @since 1.3
 */
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:openjdk9    文件:JViewport.java   
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ViewportUI</code> L&amp;F object
 * @see UIDefaults#getUI
 * @since 1.3
 */
@BeanProperty(hidden = true, visualUpdate = true, description
        = "The UI object that implements the Component's LookAndFeel.")
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:openjdk9    文件:JViewport.java   
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:Java8CN    文件:JViewport.java   
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return a <code>ViewportUI</code> object
 * @since 1.3
 */
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:Java8CN    文件:JViewport.java   
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ViewportUI</code> L&amp;F object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 * @since 1.3
 */
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:Java8CN    文件:JViewport.java   
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:jdk8u_jdk    文件:JViewport.java   
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return a <code>ViewportUI</code> object
 * @since 1.3
 */
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:jdk8u_jdk    文件:JViewport.java   
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ViewportUI</code> L&amp;F object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 * @since 1.3
 */
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:jdk8u_jdk    文件:JViewport.java   
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:lookaside_java-1.8.0-openjdk    文件:JViewport.java   
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return a <code>ViewportUI</code> object
 * @since 1.3
 */
public ViewportUI getUI() {
    return (ViewportUI)ui;
}
项目:lookaside_java-1.8.0-openjdk    文件:JViewport.java   
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ViewportUI</code> L&amp;F object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 * @since 1.3
 */
public void setUI(ViewportUI ui) {
    super.setUI(ui);
}
项目:lookaside_java-1.8.0-openjdk    文件:JViewport.java   
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ViewportUI)UIManager.getUI(this));
}
项目:javify    文件:JViewport.java   
/**
 * This method returns the viewport's UI delegate.
 *
 * @return The viewport's UI delegate.
 */
public ViewportUI getUI()
{
  return (ViewportUI) ui;
}
项目:javify    文件:JViewport.java   
/**
 * This method sets the viewport's UI delegate.
 *
 * @param ui The viewport's UI delegate.
 */
public void setUI(ViewportUI ui)
{
  super.setUI(ui);
}
项目:jvm-stm    文件:JViewport.java   
/**
 * This method returns the viewport's UI delegate.
 *
 * @return The viewport's UI delegate.
 */
public ViewportUI getUI()
{
  return (ViewportUI) ui;
}