Class SwingBorder

    • Constructor Detail

      • SwingBorder

        public SwingBorder​(String key)
        Constructs a border from the Swing UI resources.
        Parameters:
        key - The name of the Swing border.
      • SwingBorder

        public SwingBorder​(String key,
                           Border border)
        For internal use only.
    • Method Detail

      • getKey

        public String getKey()
        Returns The name of the Swing border.
      • equals

        public boolean equals​(Object obj)
        Determines whether another object is equal to this object.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Returns the hash code for this object.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class Object
      • isBorderOpaque

        public boolean isBorderOpaque()
        Specified by:
        isBorderOpaque in interface Border