- What is inset in java
- Field Summary
- Constructor Summary
- Method Summary
- Methods inherited from class java.lang.Object
- Field Detail
- top
- left
- bottom
- right
- Constructor Detail
- Insets
- Method Detail
- set
- equals
- hashCode
- toString
- clone
- What is inset in java
- Field Summary
- Constructor Summary
- Method Summary
- Methods inherited from class java.lang.Object
- Field Detail
- top
- left
- bottom
- right
- Constructor Detail
- Insets
- Method Detail
- set
- equals
- hashCode
- toString
- clone
- What is inset in java
- Field Summary
- Constructor Summary
- Method Summary
- Methods declared in class java.lang.Object
- Field Detail
- top
- left
- bottom
- right
- Constructor Detail
- Insets
- Method Detail
- set
- equals
- hashCode
- toString
- clone
- Class Insets
- Field Summary
- Constructor Summary
- Method Summary
- Methods declared in class java.lang.Object
- Field Details
- top
- left
- bottom
- right
- Constructor Details
- Insets
- Method Details
- set
- equals
- hashCode
- toString
- clone
- Class Insets
- Field Summary
- Constructor Summary
- Method Summary
- Methods declared in class java.lang.Object
- Field Details
- top
- left
- bottom
- right
- Constructor Details
- Insets
- Method Details
- set
- equals
- hashCode
- toString
- clone
What is inset in java
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.
Field Summary
Constructor Summary
Method Summary
Methods inherited from class java.lang.Object
Field Detail
top
The inset from the top. This value is added to the Top of the rectangle to yield a new location for the Top.
left
The inset from the left. This value is added to the Left of the rectangle to yield a new location for the Left edge.
bottom
The inset from the bottom. This value is subtracted from the Bottom of the rectangle to yield a new location for the Bottom.
right
The inset from the right. This value is subtracted from the Right of the rectangle to yield a new location for the Right edge.
Constructor Detail
Insets
public Insets(int top, int left, int bottom, int right)
Method Detail
set
public void set(int top, int left, int bottom, int right)
equals
Checks whether two insets objects are equal. Two instances of Insets are equal if the four integer values of the fields top , left , bottom , and right are all equal.
hashCode
toString
Returns a string representation of this Insets object. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null .
clone
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
What is inset in java
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.
Field Summary
Constructor Summary
Method Summary
Methods inherited from class java.lang.Object
Field Detail
top
The inset from the top. This value is added to the Top of the rectangle to yield a new location for the Top.
left
The inset from the left. This value is added to the Left of the rectangle to yield a new location for the Left edge.
bottom
The inset from the bottom. This value is subtracted from the Bottom of the rectangle to yield a new location for the Bottom.
right
The inset from the right. This value is subtracted from the Right of the rectangle to yield a new location for the Right edge.
Constructor Detail
Insets
public Insets(int top, int left, int bottom, int right)
Method Detail
set
public void set(int top, int left, int bottom, int right)
equals
Checks whether two insets objects are equal. Two instances of Insets are equal if the four integer values of the fields top , left , bottom , and right are all equal.
hashCode
toString
Returns a string representation of this Insets object. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null .
clone
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
What is inset in java
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.
Field Summary
Constructor Summary
Method Summary
Methods declared in class java.lang.Object
Field Detail
top
The inset from the top. This value is added to the Top of the rectangle to yield a new location for the Top.
left
The inset from the left. This value is added to the Left of the rectangle to yield a new location for the Left edge.
bottom
The inset from the bottom. This value is subtracted from the Bottom of the rectangle to yield a new location for the Bottom.
right
The inset from the right. This value is subtracted from the Right of the rectangle to yield a new location for the Right edge.
Constructor Detail
Insets
public Insets(int top, int left, int bottom, int right)
Method Detail
set
public void set(int top, int left, int bottom, int right)
equals
Checks whether two insets objects are equal. Two instances of Insets are equal if the four integer values of the fields top , left , bottom , and right are all equal.
hashCode
toString
Returns a string representation of this Insets object. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null .
clone
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Class Insets
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.
Field Summary
Constructor Summary
Method Summary
Methods declared in class java.lang.Object
Field Details
top
The inset from the top. This value is added to the Top of the rectangle to yield a new location for the Top.
left
The inset from the left. This value is added to the Left of the rectangle to yield a new location for the Left edge.
bottom
The inset from the bottom. This value is subtracted from the Bottom of the rectangle to yield a new location for the Bottom.
right
The inset from the right. This value is subtracted from the Right of the rectangle to yield a new location for the Right edge.
Constructor Details
Insets
Method Details
set
equals
Checks whether two insets objects are equal. Two instances of Insets are equal if the four integer values of the fields top , left , bottom , and right are all equal.
hashCode
toString
Returns a string representation of this Insets object. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null .
clone
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Class Insets
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.
Field Summary
Constructor Summary
Method Summary
Methods declared in class java.lang.Object
Field Details
top
The inset from the top. This value is added to the Top of the rectangle to yield a new location for the Top.
left
The inset from the left. This value is added to the Left of the rectangle to yield a new location for the Left edge.
bottom
The inset from the bottom. This value is subtracted from the Bottom of the rectangle to yield a new location for the Bottom.
right
The inset from the right. This value is subtracted from the Right of the rectangle to yield a new location for the Right edge.
Constructor Details
Insets
Method Details
set
equals
Checks whether two insets objects are equal. Two instances of Insets are equal if the four integer values of the fields top , left , bottom , and right are all equal.
hashCode
toString
Returns a string representation of this Insets object. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null .
clone
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.