javax.swing.plaf.metal 
 类 MetalBorders.PopupMenuBorder
 
  
java.lang.Object
   javax.swing.border.AbstractBorder
javax.swing.border.AbstractBorder
       javax.swing.plaf.metal.MetalBorders.PopupMenuBorder
javax.swing.plaf.metal.MetalBorders.PopupMenuBorder
 
   
   - 
    所有已实现的接口: 
   
- 
    Serializable, 
    Border, 
    UIResource
   
 
   - 
    正在封闭类:
   
- 
    MetalBorders
   
 
   
   - 
    public static class MetalBorders.PopupMenuBorder
     
- 
      extends 
      AbstractBorder
     
- 
      implements 
      UIResource
     
 
  
 
   
    
     
     
   
  
    
     
   
  
    
    
  
    
    
  
    
   
   
     
     | 从类 java.lang.Object 继承的方法 | 
 
     
     | clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
   
  
   
   
    
     
   
  
   
   borderInsets
 
  
protected static Insets borderInsets
 
   
    
   
 MetalBorders.PopupMenuBorder
 
  
public MetalBorders.PopupMenuBorder()
 
   
  
 paintBorder
 
  
public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int w,
                        int h) 
   
   - 
    从类 AbstractBorder复制的描述
- 
    此默认实现不执行绘制操作。 
      
- 
     
     - 
      指定者:
     
- 
      接口 
      Border中的paintBorder
- 
      覆盖:
     
- 
      类 
      AbstractBorder中的paintBorder
 
- 
     
     - 
      参数:
     
- 
      c- 要为其绘制边框的组件
- 
      g- 绘制的图形
- 
      x- 所绘制边框的 x 坐标位置
- 
      y- 所绘制边框的 y 坐标位置
- 
      w- 所绘制边框的宽度
- 
      h- 所绘制边框的高度
 
 
  
   
   getBorderInsets
 
  
public Insets getBorderInsets(Component c)
 
   
   - 
    从类 AbstractBorder复制的描述
- 
    此默认实现返回一个新的 
    Insets实例,其中top、left、bottom和right字段都设置成了0。  
- 
     
     - 
      指定者:
     
- 
      接口 
      Border中的getBorderInsets
- 
      覆盖:
     
- 
      类 
      AbstractBorder中的getBorderInsets
 
- 
     
     - 
      参数:
     
- 
      c- 应用此边框 insets 值的组件
- 
      返回:
     
- 
      已初始化为 0 的新 
      Insets对象
 
 
  
   
   getBorderInsets
 
  
public Insets getBorderInsets(Component c,
                              Insets newInsets) 
   
   - 
    从类 AbstractBorder复制的描述
- 
    用此边框的当前 Insets 重新初始化 insets 参数。 
      
- 
     
     - 
      覆盖:
     
- 
      类 
      AbstractBorder中的getBorderInsets
 
- 
     
     - 
      参数:
     
- 
      c- 应用此边框 insets 值的组件
- 
      newInsets- 要重新初始化的对象
- 
      返回:
     
- 
      insets对象
 
 
   
  
    
   
   
   
   
  
 
  提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。 
  版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。