Skip navigation links
A B C D E F H I L M O R S T U W 

A

alignBottomLeft(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignBottomLeftOffset(BoxType, BoxType, int, int) with zero offsets.
alignBottomLeftOffset(BoxType<S>, BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner such that the bottom edge is at least offset_bottom from the inside bottom edge of outer and the left edge is at least offset_left from the inside left edge of outer.
alignBottomRight(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignBottomRightOffset(BoxType, BoxType, int, int) with zero offsets.
alignBottomRightOffset(BoxType<S>, BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner such that the bottom edge is at least offset_bottom from the inside bottom edge of outer and the right edge is at least offset_right from the inside right edge of outer.
alignCenter(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner such that the center of the box is equal to the center of outer.
alignHorizontallyCenter(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner horizontally in the center of outer.
alignHorizontallyLeft(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignHorizontallyLeftOffset(BoxType, BoxType, int) with a zero offset.
alignHorizontallyLeftOffset(BoxType<S>, BoxType<S>, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner horizontally against the inside left edge of outer.
alignHorizontallyRight(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignHorizontallyRightOffset(BoxType, BoxType, int) with a zero offset.
alignHorizontallyRightOffset(BoxType<S>, BoxType<S>, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner horizontally against the inside right edge of outer.
alignTopLeft(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignTopLeftOffset(BoxType, BoxType, int, int) with zero offsets.
alignTopLeftOffset(BoxType<S>, BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner such that the top edge is at least offset_top from the inside top edge of outer and the left edge is at least offset_left from the inside left edge of outer.
alignTopRight(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignTopRightOffset(BoxType, BoxType, int, int) with zero offsets.
alignTopRightOffset(BoxType<S>, BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner such that the top edge is at least offset_top from the inside top edge of outer and the right edge is at least offset_right from the inside right edge of outer.
alignVerticallyBottom(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignVerticallyBottomOffset(BoxType, BoxType, int) with a zero offset.
alignVerticallyBottomOffset(BoxType<S>, BoxType<S>, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner vertically against the inside bottom edge of outer.
alignVerticallyCenter(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner vertically in the center of outer.
alignVerticallyTop(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.alignVerticallyTopOffset(BoxType, BoxType, int) with a zero offset.
alignVerticallyTopOffset(BoxType<S>, BoxType<S>, int) - Static method in class com.io7m.jboxes.core.Boxes
Align the box inner vertically against the inside top edge of outer.

B

BImmutableStyleType - Annotation Type in com.io7m.jboxes.core
The immutables style used by the package.
Box<S> - Class in com.io7m.jboxes.core
Immutable implementation of BoxType.
Box.Builder<S> - Class in com.io7m.jboxes.core
Builds instances of type Box.
Boxes - Class in com.io7m.jboxes.core
Functions to arrange boxes.
BoxHorizontalSplit<S> - Class in com.io7m.jboxes.core
Immutable implementation of BoxHorizontalSplitType.
BoxHorizontalSplit.Builder<S> - Class in com.io7m.jboxes.core
Builds instances of type BoxHorizontalSplit.
BoxHorizontalSplitType<S> - Interface in com.io7m.jboxes.core
The result of splitting a box along a horizontal line.
BoxMutable<S> - Class in com.io7m.jboxes.core
A modifiable implementation of the BoxType type.
BoxType<S> - Interface in com.io7m.jboxes.core
The type of boxes expressed as half-closed ranges on the X and Y axis.
BoxVerticalSplit<S> - Class in com.io7m.jboxes.core
Immutable implementation of BoxVerticalSplitType.
BoxVerticalSplit.Builder<S> - Class in com.io7m.jboxes.core
Builds instances of type BoxVerticalSplit.
BoxVerticalSplitType<S> - Interface in com.io7m.jboxes.core
The result of splitting a box along a vertical line.
build() - Method in class com.io7m.jboxes.core.Box.Builder
Builds a new Box.
build() - Method in class com.io7m.jboxes.core.BoxHorizontalSplit.Builder
Builds a new BoxHorizontalSplit.
build() - Method in class com.io7m.jboxes.core.BoxVerticalSplit.Builder
Builds a new BoxVerticalSplit.
builder() - Static method in class com.io7m.jboxes.core.Box
Creates a builder for Box.
builder() - Static method in class com.io7m.jboxes.core.BoxHorizontalSplit
Creates a builder for BoxHorizontalSplit.
builder() - Static method in class com.io7m.jboxes.core.BoxVerticalSplit
Creates a builder for BoxVerticalSplit.

C

cast(BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Brand a given box as belonging to a different coordinate space.
checkPreconditions() - Method in interface com.io7m.jboxes.core.BoxType
Check the preconditions for the parameters.
clear() - Method in class com.io7m.jboxes.core.BoxMutable
Clears the object by setting all attributes to their initial values.
com.io7m.jboxes.core - package com.io7m.jboxes.core
Core types and functions.
com.io7m.jboxes.documentation - package com.io7m.jboxes.documentation
Documentation.
containing(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Construct a box that will contain both a and b.
contains(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Determine whether or not one box contains another.
containsPoint(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Determine whether or not a box contains a given point.
copyOf(BoxType<S>) - Static method in class com.io7m.jboxes.core.Box
Creates an immutable copy of a BoxType value.
copyOf(BoxHorizontalSplitType<S>) - Static method in class com.io7m.jboxes.core.BoxHorizontalSplit
Creates an immutable copy of a BoxHorizontalSplitType value.
copyOf(BoxVerticalSplitType<S>) - Static method in class com.io7m.jboxes.core.BoxVerticalSplit
Creates an immutable copy of a BoxVerticalSplitType value.
couldFitInside(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Determine whether or not one box could fit inside another.
create(int, int, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Create a box of width width and height height, placing the top left corner at (x, y).
create(int, int, int, int) - Static method in class com.io7m.jboxes.core.BoxMutable
Construct a modifiable instance of BoxType.
create() - Static method in class com.io7m.jboxes.core.BoxMutable
Construct a modifiable instance of BoxType.

D

Documentation - Class in com.io7m.jboxes.documentation
Marker class for looking up files by resource.

E

equals(Object) - Method in class com.io7m.jboxes.core.Box
This instance is equal to all instances of Box that have equal attribute values.
equals(Object) - Method in class com.io7m.jboxes.core.BoxHorizontalSplit
This instance is equal to all instances of BoxHorizontalSplit that have equal attribute values.
equals(Object) - Method in class com.io7m.jboxes.core.BoxMutable
This instance is equal to all instances of BoxMutable that have equal attribute values.
equals(Object) - Method in class com.io7m.jboxes.core.BoxVerticalSplit
This instance is equal to all instances of BoxVerticalSplit that have equal attribute values.

F

fitBetweenHorizontal(BoxType<S>, BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Attempt to fit fit between a and b, horizontally.
fitBetweenVertical(BoxType<S>, BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Attempt to fit fit between a and b, vertically.
from(BoxType<S>) - Method in class com.io7m.jboxes.core.Box.Builder
Fill a builder with attribute values from the provided BoxType instance.
from(BoxHorizontalSplitType<S>) - Method in class com.io7m.jboxes.core.BoxHorizontalSplit.Builder
Fill a builder with attribute values from the provided BoxHorizontalSplitType instance.
from(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxMutable
Fill this modifiable instance with attribute values from the provided BoxType instance.
from(BoxVerticalSplitType<S>) - Method in class com.io7m.jboxes.core.BoxVerticalSplit.Builder
Fill a builder with attribute values from the provided BoxVerticalSplitType instance.

H

hashCode() - Method in class com.io7m.jboxes.core.Box
Computes a hash code from attributes: minimumX, maximumX, minimumY, maximumY.
hashCode() - Method in class com.io7m.jboxes.core.BoxHorizontalSplit
Computes a hash code from attributes: upper, lower.
hashCode() - Method in class com.io7m.jboxes.core.BoxMutable
Computes a hash code from attributes: minimumX, maximumX, minimumY, maximumY.
hashCode() - Method in class com.io7m.jboxes.core.BoxVerticalSplit
Computes a hash code from attributes: left, right.
height() - Method in interface com.io7m.jboxes.core.BoxType
 
hollowOut(BoxType<S>, int, int, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Construct a new box that fits inside outer based on the given offsets from each edge.
hollowOutEvenly(BoxType<S>, int) - Static method in class com.io7m.jboxes.core.Boxes
Equivalent to calling Boxes.hollowOut(BoxType, int, int, int, int) with offset for all offset parameters.

I

isInitialized() - Method in class com.io7m.jboxes.core.BoxMutable
Returns true if all required attributes are set, indicating that the object is initialized.

L

left() - Method in class com.io7m.jboxes.core.BoxVerticalSplit
 
left() - Method in interface com.io7m.jboxes.core.BoxVerticalSplitType
 
lower() - Method in class com.io7m.jboxes.core.BoxHorizontalSplit
 
lower() - Method in interface com.io7m.jboxes.core.BoxHorizontalSplitType
 

M

maximumX() - Method in class com.io7m.jboxes.core.Box
 
maximumX() - Method in class com.io7m.jboxes.core.BoxMutable
 
maximumX() - Method in interface com.io7m.jboxes.core.BoxType
 
maximumXIsSet() - Method in class com.io7m.jboxes.core.BoxMutable
Returns true if the required attribute maximumX is set.
maximumY() - Method in class com.io7m.jboxes.core.Box
 
maximumY() - Method in class com.io7m.jboxes.core.BoxMutable
 
maximumY() - Method in interface com.io7m.jboxes.core.BoxType
 
maximumYIsSet() - Method in class com.io7m.jboxes.core.BoxMutable
Returns true if the required attribute maximumY is set.
minimumX() - Method in class com.io7m.jboxes.core.Box
 
minimumX() - Method in class com.io7m.jboxes.core.BoxMutable
 
minimumX() - Method in interface com.io7m.jboxes.core.BoxType
 
minimumXIsSet() - Method in class com.io7m.jboxes.core.BoxMutable
Returns true if the required attribute minimumX is set.
minimumY() - Method in class com.io7m.jboxes.core.Box
 
minimumY() - Method in class com.io7m.jboxes.core.BoxMutable
 
minimumY() - Method in interface com.io7m.jboxes.core.BoxType
 
minimumYIsSet() - Method in class com.io7m.jboxes.core.BoxMutable
Returns true if the required attribute minimumY is set.
moveAbsolute(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Move the given box to (x, y).
moveRelative(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Move the given box by (x, y).
moveToOrigin(BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Move the given box to (0, 0).

O

of(int, int, int, int) - Static method in class com.io7m.jboxes.core.Box
Construct a new immutable Box instance.
of(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.BoxHorizontalSplit
Construct a new immutable BoxHorizontalSplit instance.
of(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.BoxVerticalSplit
Construct a new immutable BoxVerticalSplit instance.
overlaps(BoxType<S>, BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
Determine whether or not two boxes overlap.

R

right() - Method in class com.io7m.jboxes.core.BoxVerticalSplit
 
right() - Method in interface com.io7m.jboxes.core.BoxVerticalSplitType
 

S

scaleFromBottomLeft(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Scale box by adding x_diff to the width, and y_diff to the height.
scaleFromBottomRight(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Scale box by adding x_diff to the width, and y_diff to the height.
scaleFromCenter(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Scale box by adding x_diff to the width, and y_diff to the height.
scaleFromTopLeft(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Scale box by adding x_diff to the width, and y_diff to the height.
scaleFromTopRight(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Scale box by adding x_diff to the width, and y_diff to the height.
setLeft(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxVerticalSplit.Builder
Initializes the value for the left attribute.
setLower(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxHorizontalSplit.Builder
Initializes the value for the lower attribute.
setMaximumX(int) - Method in class com.io7m.jboxes.core.Box.Builder
Initializes the value for the maximumX attribute.
setMaximumX(int) - Method in class com.io7m.jboxes.core.BoxMutable
Assigns a value to the maximumX attribute.
setMaximumY(int) - Method in class com.io7m.jboxes.core.Box.Builder
Initializes the value for the maximumY attribute.
setMaximumY(int) - Method in class com.io7m.jboxes.core.BoxMutable
Assigns a value to the maximumY attribute.
setMinimumX(int) - Method in class com.io7m.jboxes.core.Box.Builder
Initializes the value for the minimumX attribute.
setMinimumX(int) - Method in class com.io7m.jboxes.core.BoxMutable
Assigns a value to the minimumX attribute.
setMinimumY(int) - Method in class com.io7m.jboxes.core.Box.Builder
Initializes the value for the minimumY attribute.
setMinimumY(int) - Method in class com.io7m.jboxes.core.BoxMutable
Assigns a value to the minimumY attribute.
setRight(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxVerticalSplit.Builder
Initializes the value for the right attribute.
setSizeFromBottomLeft(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Set the width and height of box to width and height, respectively.
setSizeFromBottomRight(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Set the width and height of box to width and height, respectively.
setSizeFromCenter(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Set the width and height of box to width and height, respectively.
setSizeFromTopLeft(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Set the width and height of box to width and height, respectively.
setSizeFromTopRight(BoxType<S>, int, int) - Static method in class com.io7m.jboxes.core.Boxes
Set the width and height of box to width and height, respectively.
setUpper(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxHorizontalSplit.Builder
Initializes the value for the upper attribute.
show(BoxType<S>) - Static method in class com.io7m.jboxes.core.Boxes
 
showToBuilder(BoxType<S>, StringBuilder) - Static method in class com.io7m.jboxes.core.Boxes
 
splitAlongHorizontal(BoxType<S>, int) - Static method in class com.io7m.jboxes.core.Boxes
Split box along a horizontal line placed at height units from its own top edge.
splitAlongVertical(BoxType<S>, int) - Static method in class com.io7m.jboxes.core.Boxes
Split box along a vertical line placed at width units from its own left edge.

T

toImmutable() - Method in class com.io7m.jboxes.core.BoxMutable
Converts to Box.
toString() - Method in class com.io7m.jboxes.core.Box
Prints the immutable value Box with attribute values.
toString() - Method in class com.io7m.jboxes.core.BoxHorizontalSplit
Prints the immutable value BoxHorizontalSplit with attribute values.
toString() - Method in class com.io7m.jboxes.core.BoxMutable
Generates a string representation of this BoxType.
toString() - Method in class com.io7m.jboxes.core.BoxVerticalSplit
Prints the immutable value BoxVerticalSplit with attribute values.

U

upper() - Method in class com.io7m.jboxes.core.BoxHorizontalSplit
 
upper() - Method in interface com.io7m.jboxes.core.BoxHorizontalSplitType
 

W

width() - Method in interface com.io7m.jboxes.core.BoxType
 
withLeft(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxVerticalSplit
Copy the current immutable object by setting a value for the left attribute.
withLower(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxHorizontalSplit
Copy the current immutable object by setting a value for the lower attribute.
withMaximumX(int) - Method in class com.io7m.jboxes.core.Box
Copy the current immutable object by setting a value for the maximumX attribute.
withMaximumY(int) - Method in class com.io7m.jboxes.core.Box
Copy the current immutable object by setting a value for the maximumY attribute.
withMinimumX(int) - Method in class com.io7m.jboxes.core.Box
Copy the current immutable object by setting a value for the minimumX attribute.
withMinimumY(int) - Method in class com.io7m.jboxes.core.Box
Copy the current immutable object by setting a value for the minimumY attribute.
withRight(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxVerticalSplit
Copy the current immutable object by setting a value for the right attribute.
withUpper(BoxType<S>) - Method in class com.io7m.jboxes.core.BoxHorizontalSplit
Copy the current immutable object by setting a value for the upper attribute.
A B C D E F H I L M O R S T U W 
Skip navigation links

Copyright © 2016 <code@io7m.com> http://io7m.com