java.awt

Class Insets

  • java.lang.Object
    • java.awt.Insets
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    public class Insets extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable
    An Insets object is a representation of the borders of a container. It specifies the space that a container must leave at each of its edges. The space can be a border, a blank space, or a title.
    Since:
    JDK1.0
    See Also:
    LayoutManager, Container, Serialized Form
    • Fields 
      Modifier and Type Field and Description
      Ordinary member indicator bottom Reveal DetailHide Detail
      The inset from the bottom.
      Ordinary member indicator left Reveal DetailHide Detail
      The inset from the left.
      Ordinary member indicator right Reveal DetailHide Detail
      The inset from the right.
      Ordinary member indicator top Reveal DetailHide Detail
      The inset from the top.
    • Constructors 
      Constructor and Description
      Ordinary member indicator Insets Reveal DetailHide Detail
      Creates and initializes a new Insets object with the specified top, left, bottom, and right insets.
    • Methods 
      Modifier and Type Method and Description
      Overridden member indicator clone Reveal DetailHide Detail
      Create a copy of this object.
      Overridden member indicator equals Reveal DetailHide Detail
      Checks whether two insets objects are equal.
      Overridden member indicator hashCode Reveal DetailHide Detail
      Returns the hash code for this Insets.
      Ordinary member indicator set Reveal DetailHide Detail
      Set top, left, bottom, and right to the specified values
      Overridden member indicator toString Reveal DetailHide Detail
      Returns a string representation of this Insets object.
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge