Uses of Class
java.awt.Insets
-
Packages that use Insets 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.dnd 拖放是在许多图形用户界面系统中发现的直接操纵手势,它提供了一种在逻辑上与GUI中的表示元素相关联的实体之间传递信息的机制。javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.border 提供用于绘制Swing组件周围特殊边框的类和接口。javax.swing.plaf 提供一个接口和许多抽象类,Swing用来提供其可插拔的外观和感觉功能。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。javax.swing.plaf.metal 提供根据Java外观构建的用户界面对象(一旦代号为 Metal ),这是默认的外观和感觉。javax.swing.plaf.nimbus 提供根据跨平台Nimbus外观构建的用户界面对象。javax.swing.plaf.synth 合成是一种可以让所有绘画委托的外观和感觉。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。 -
-
Uses of Insets in java.awt
Fields in java.awt declared as Insets Modifier and Type Field 描述 InsetsGridBagConstraints. insets该字段指定组件的外部填充,组件与其显示区域的边缘之间的最小空间量。Methods in java.awt that return Insets Modifier and Type 方法 描述 InsetsContainer. getInsets()确定此容器的插入,这表示容器边框的大小。InsetsToolkit. getScreenInsets(GraphicsConfiguration gc)获取屏幕的插图。InsetsContainer. insets()已过时。从JDK 1.1版开始,替换为getInsets()。Constructors in java.awt with parameters of type Insets Constructor 描述 GridBagConstraints(int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady)创建一个GridBagConstraints对象,其所有字段都设置为传入参数。 -
Uses of Insets in java.awt.dnd
Methods in java.awt.dnd that return Insets Modifier and Type 方法 描述 InsetsAutoscroll. getAutoscrollInsets()此方法返回描述相对于实现组件几何的自动滚动区域或边框的Insets。 -
Uses of Insets in javax.swing
Methods in javax.swing that return Insets Modifier and Type 方法 描述 InsetsJComponent. getInsets()如果在此组件上设置了边框,则返回边框的插入; 否则拨打super.getInsets。InsetsJComponent. getInsets(Insets insets)返回一个包含该组件插入值的Insets对象。InsetsJViewport. getInsets()由于边框不支持JViewport,因此将其作为(0,0,0,0)的尺寸返回。InsetsJViewport. getInsets(Insets insets)返回一个包含这个JViewport的插入值的Insets对象。InsetsUIDefaults. getInsets(Object key)如果key的值是Insets返回,否则返回null。InsetsUIDefaults. getInsets(Object key, Locale l)如果值key对于给定Locale是Insets返回它,否则返回null。static InsetsUIManager. getInsets(Object key)从默认值返回一个Insets对象。static InsetsUIManager. getInsets(Object key, Locale l)从适用于给定语言环境的默认值返回一个Insets对象。InsetsAbstractButton. getMargin()返回按钮边框和标签之间的边距。InsetsJMenuBar. getMargin()返回菜单边框和菜单之间的边距。InsetsJPopupMenu. getMargin()返回弹出菜单的边框和容器之间的边距(以像素为单位)。InsetsJToolBar. getMargin()返回工具栏边框与其按钮之间的边距。Methods in javax.swing with parameters of type Insets Modifier and Type 方法 描述 InsetsJComponent. getInsets(Insets insets)返回包含此组件的插入值的Insets对象。InsetsJViewport. getInsets(Insets insets)返回一个Insets对象,其中包含这个JViewport的插入值。voidAbstractButton. setMargin(Insets m)在按钮的边框和标签之间设置边距空间。voidJMenuBar. setMargin(Insets m)设置菜单边界和菜单之间的边距。voidJToolBar. setMargin(Insets m)X- 200 X- 200 200 X- 200 X- 200 200 X- 200 200 X- 200 200 X- 200 200 X- 200 200 X- 200 200 X- -
Uses of Insets in javax.swing.border
Methods in javax.swing.border that return Insets Modifier and Type 方法 描述 InsetsAbstractBorder. getBorderInsets(Component c)此默认实现返回一个由AbstractBorder.getBorderInsets(Component,Insets)方法初始化的新的Insets对象。InsetsAbstractBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsBevelBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsBorder. getBorderInsets(Component c)返回边框的插入。InsetsCompoundBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsEmptyBorder. getBorderInsets()返回边框的插入。InsetsEmptyBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsEtchedBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsLineBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsMatteBorder. getBorderInsets()返回边框的插入。InsetsMatteBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsSoftBevelBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsStrokeBorder. getBorderInsets(Component c, Insets insets)使用此边框的当前插图重新初始化insets参数。InsetsTitledBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。Methods in javax.swing.border with parameters of type Insets Modifier and Type 方法 描述 InsetsAbstractBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsBevelBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsCompoundBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsEmptyBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsEtchedBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsLineBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsMatteBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsSoftBevelBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。InsetsStrokeBorder. getBorderInsets(Component c, Insets insets)使用此边框的当前插图重新初始化insets参数。InsetsTitledBorder. getBorderInsets(Component c, Insets insets)使用此Border的当前Insets重新初始化insets参数。Constructors in javax.swing.border with parameters of type Insets Constructor 描述 EmptyBorder(Insets borderInsets)使用指定的插图创建空白边框。MatteBorder(Insets borderInsets, Color matteColor)创建具有指定插图和颜色的无光泽边框。MatteBorder(Insets borderInsets, Icon tileIcon)使用指定的插图和图块图标创建无光泽边框。 -
Uses of Insets in javax.swing.plaf
Subclasses of Insets in javax.swing.plaf Modifier and Type Class 描述 classInsetsUIResourceInsets实现UIResource的子类。Methods in javax.swing.plaf that return Insets Modifier and Type 方法 描述 InsetsBorderUIResource. getBorderInsets(Component c)Constructors in javax.swing.plaf with parameters of type Insets Constructor 描述 EmptyBorderUIResource(Insets insets)构造一个EmptyBorderUIResource。 -
Uses of Insets in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic declared as Insets Modifier and Type Field 描述 protected InsetsBasicTabbedPaneUI. contentBorderInsets内容边框插图protected InsetsBasicSliderUI. focusInsets焦点插图protected InsetsBasicSliderUI. insetCache插入缓存protected InsetsBasicComboBoxUI. padding如果指定了这些插值,则在组合框中布置和绘制“选定”项时,这些插值将围绕单元格渲染器充当填充。protected InsetsBasicTabbedPaneUI. selectedTabPadInsets所选标签插入protected InsetsBasicTabbedPaneUI. tabAreaInsets标签区域插入protected InsetsBasicTabbedPaneUI. tabInsets标签插入Methods in javax.swing.plaf.basic that return Insets Modifier and Type 方法 描述 InsetsBasicBorders.ButtonBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.FieldBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.MarginBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.MenuBarBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.RadioButtonBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.SplitPaneBorder. getBorderInsets(Component c)InsetsBasicBorders.ToggleButtonBorder. getBorderInsets(Component c, Insets insets)protected InsetsBasicTabbedPaneUI. getContentBorderInsets(int tabPlacement)返回内容边框插入。static InsetsBasicGraphicsUtils. getEtchedInsets()返回由drawEtchedRect()绘制的边框占用的空间量static InsetsBasicGraphicsUtils. getGrooveInsets()返回由drawGroove()绘制的边框占用的空间量protected InsetsBasicComboBoxUI. getInsets()从JComboBox获取插图。InsetsBasicDesktopIconUI. getInsets(JComponent c)返回插图。InsetsBasicSplitPaneDivider. getInsets()如果在此组件上设置了边框,则返回边框的插入,否则调用super.getInsets。InsetsBasicSplitPaneUI. getInsets(JComponent jc)返回插图。InsetsBasicToolBarUI.DragWindow. getInsets()protected InsetsBasicTabbedPaneUI. getSelectedTabPadInsets(int tabPlacement)返回所选的选项卡垫插入。protected InsetsBasicTabbedPaneUI. getTabAreaInsets(int tabPlacement)返回标签区域插入。protected InsetsBasicTabbedPaneUI. getTabInsets(int tabPlacement, int tabIndex)返回标签插入。Methods in javax.swing.plaf.basic with parameters of type Insets Modifier and Type 方法 描述 protected intBasicProgressBarUI. getAmountFull(Insets b, int width, int height)这将根据从模型收集的百分比确定应填充的进度条的数量。protected intBasicSplitPaneUI.BasicHorizontalLayoutManager. getAvailableSize(Dimension containerSize, Insets insets)根据容器大小和Insets返回可用宽度。InsetsBasicBorders.ButtonBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.FieldBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.MarginBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.MenuBarBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.RadioButtonBorder. getBorderInsets(Component c, Insets insets)InsetsBasicBorders.ToggleButtonBorder. getBorderInsets(Component c, Insets insets)protected intBasicSplitPaneUI.BasicHorizontalLayoutManager. getInitialLocation(Insets insets)返回左插图,除非Insets为null,在这种情况下返回0。protected voidBasicTreeUI. paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)绘制一行的展开(切换)部分。protected voidBasicTreeUI. paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)涂抹腿部的水平部分。protected voidBasicTreeUI. paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)绘制一行的渲染器部分。protected voidBasicProgressBarUI. paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b)绘制进度字符串。protected voidBasicTreeUI. paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)涂上腿部的垂直部分。protected static voidBasicTabbedPaneUI. rotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)旋转插图。protected voidBasicSplitPaneUI.BasicHorizontalLayoutManager. setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)将组件c的宽度设置为size,将其x位置设置为location,y到insets.top,高度为containerSize.height减去顶部和底部的插入。 -
Uses of Insets in javax.swing.plaf.metal
Fields in javax.swing.plaf.metal declared as Insets Modifier and Type Field 描述 protected static InsetsMetalBorders.ButtonBorder. borderInsets边界插入。protected static InsetsMetalBorders.MenuBarBorder. borderInsets边界插入。protected static InsetsMetalBorders.MenuItemBorder. borderInsets边界插入。protected static InsetsMetalBorders.PopupMenuBorder. borderInsets边界插入。protected InsetsMetalBorders.TableHeaderBorder. editorBorderInsets边界插入。protected static InsetsMetalComboBoxEditor. editorBorderInsets默认编辑器边框Insets。Methods in javax.swing.plaf.metal that return Insets Modifier and Type 方法 描述 InsetsMetalBorders.ButtonBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.Flush3DBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.InternalFrameBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.MenuBarBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.MenuItemBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.OptionDialogBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.PaletteBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.PopupMenuBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.ScrollPaneBorder. getBorderInsets(Component c, Insets insets)InsetsMetalBorders.TableHeaderBorder. getBorderInsets(Component c, Insets insets)InsetsMetalBorders.ToolBarBorder. getBorderInsets(Component c, Insets newInsets)Methods in javax.swing.plaf.metal with parameters of type Insets Modifier and Type 方法 描述 InsetsMetalBorders.ButtonBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.Flush3DBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.InternalFrameBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.MenuBarBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.MenuItemBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.OptionDialogBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.PaletteBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.PopupMenuBorder. getBorderInsets(Component c, Insets newInsets)InsetsMetalBorders.ScrollPaneBorder. getBorderInsets(Component c, Insets insets)InsetsMetalBorders.TableHeaderBorder. getBorderInsets(Component c, Insets insets)InsetsMetalBorders.ToolBarBorder. getBorderInsets(Component c, Insets newInsets)protected voidMetalTreeUI. paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)protected voidMetalTreeUI. paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) -
Uses of Insets in javax.swing.plaf.nimbus
Methods in javax.swing.plaf.nimbus that return Insets Modifier and Type 方法 描述 InsetsNimbusStyle. getInsets(SynthContext ctx, Insets in)返回用于计算大小信息的Insets。Methods in javax.swing.plaf.nimbus with parameters of type Insets Modifier and Type 方法 描述 InsetsNimbusStyle. getInsets(SynthContext ctx, Insets in)返回用于计算大小信息的Insets。Constructors in javax.swing.plaf.nimbus with parameters of type Insets Constructor 描述 PaintContext(Insets insets, Dimension canvasSize, boolean inverted)创建一个新的PaintContext,它不会尝试缓存或缩放任何缓存的图像。PaintContext(Insets insets, Dimension canvasSize, boolean inverted, AbstractRegionPainter.PaintContext.CacheMode cacheMode, double maxH, double maxV)创建一个新的PaintContext。 -
Uses of Insets in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth that return Insets Modifier and Type 方法 描述 InsetsSynthStyle. getInsets(SynthContext context, Insets insets)返回用于计算大小信息的Insets。protected InsetsSynthTabbedPaneUI. getTabInsets(int tabPlacement, int tabIndex)返回标签插入。Methods in javax.swing.plaf.synth with parameters of type Insets Modifier and Type 方法 描述 InsetsSynthStyle. getInsets(SynthContext context, Insets insets)返回用于计算大小信息的Insets。protected voidSynthTreeUI. paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)绘制一行的展开(切换)部分。protected voidSynthTreeUI. paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)涂抹腿部的水平部分。protected voidSynthTreeUI. paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)涂上腿部的垂直部分。 -
Uses of Insets in javax.swing.text
Methods in javax.swing.text that return Insets Modifier and Type 方法 描述 InsetsJTextComponent. getMargin()返回文本组件的边框和文本之间的边距。Methods in javax.swing.text with parameters of type Insets Modifier and Type 方法 描述 voidJTextComponent. setMargin(Insets m)在文本组件的边框和文本之间设置边距空间。
-