Module  java.desktop

Class MetalBorders.InternalFrameBorder

    • 构造方法详细信息

      • InternalFrameBorder

        public InternalFrameBorder​()
    • 方法详细信息

      • paintBorder

        public void paintBorder​(Component c,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
        描述从类别复制: AbstractBorder
        此默认实现不绘画。
        Specified by:
        paintBorder在接口 Border
        重写:
        paintBorderAbstractBorder
        参数
        c - 正在绘制此边框的组件
        g - 油漆图形
        x - 绘画边框的x位置
        y - 绘画边框的y位置
        w - 画边框的宽度
        h - 绘画边框的高度
      • getBorderInsets

        public Insets getBorderInsets​(Component c,
                                      Insets newInsets)
        描述从类复制: AbstractBorder
        使用此Border的当前Insets重新初始化insets参数。
        重写:
        getBorderInsetsAbstractBorder
        参数
        c - 应用此边界插入值的组件
        newInsets - 要重新初始化的对象
        结果
        insets对象