Package tripleplay.ui.util
Class Insets.Mutable
java.lang.Object
tripleplay.ui.util.Insets
tripleplay.ui.util.Insets.Mutable
- Enclosing class:
Insets
Insets with changeable values.
-
Nested Class Summary
Nested classes/interfaces inherited from class tripleplay.ui.util.Insets
Insets.Mutable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds the given insets to these.bottom
(float newBottom) Sets the bottom edge and returnsthis
for chaining.left
(float newLeft) Sets the left edge and returnsthis
for chaining.mutable()
Gets or creates a copy of these insets that can be mutated.right
(float newRight) Sets the right edge and returnsthis
for chaining.top
(float newTop) Sets the top edge and returnsthis
for chaining.
-
Method Details
-
mutable
Description copied from class:Insets
Gets or creates a copy of these insets that can be mutated. Note, if storing an instance, the caller is expected to assign to the return value here in case a new object is allocated. -
add
Adds the given insets to these. Returnsthis
for chaining. -
top
Sets the top edge and returnsthis
for chaining. -
right
Sets the right edge and returnsthis
for chaining. -
bottom
Sets the bottom edge and returnsthis
for chaining. -
left
Sets the left edge and returnsthis
for chaining.
-