Top Description Fields Constructors Methods
org.fxmisc.flowless

pack-priv Class Offset

Located in compilation unit of org.fxmisc.flowless.TargetPosition.

extends Object
Class Inheritance

Helper class: stores an offset value, which should either be offset from the start if fromStart is true or from the end if false.

Field Summary

Modifier and TypeField and Description
private final boolean
private final double

Constructor Summary

AccessConstructor and Description
private
Offset(double offset, boolean fromStart)

Method Summary

Modifier and TypeMethod and Description
public Offset
add(double delta)

public static Offset
fromEnd(double offset)

public static Offset
fromStart(double offset)

public double
public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fromStartback to summary
private final boolean fromStart
offsetback to summary
private final double offset

Constructor Detail

Offsetback to summary
private Offset(double offset, boolean fromStart)

Method Detail

addback to summary
public Offset add(double delta)
fromEndback to summary
public static Offset fromEnd(double offset)
fromStartback to summary
public static Offset fromStart(double offset)
getValueback to summary
public double getValue()
isFromEndback to summary
public boolean isFromEnd()
isFromStartback to summary
public boolean isFromStart()