Package org.violetlib.types
-
Interface Summary Interface Description UIComponent An abstract interface representing a UI component.UIFileFilter A file filter with a description for use in a file dialog menu.UIWindowContext An abstract interface representing information about a parent window needed to position a window. -
Class Summary Class Description Bounds A platform-independent description of a rectangular area.ColorDescription A platform-independent description of a color.FontDescription A platform-independent description of a font.InsetDescription A platform-independent description of insets.NullableOptional<T> A possibly null value that may be present or absent.Option A unique named value suitable for a set of options.Position A platform-independent description of a point in a two dimensional space.ScalingOption Options for scaling a shape to fit in a given display size or to magnify it by a fixed scale factor.Size A platform-independent description of the size of a rectangular area.TaggedValue<T> A tagged value represents the result of a computation, which either produces a (possibly null) value or throws. -
Exception Summary Exception Description ApplicationException An exception with an explanation that can be shown to a user.ApplicationRuntimeException An application exception for situations where only unchecked exceptions are permitted (for example, in an iterator).ChangeVetoException An exception indicating that a requested change is not permitted.DataException A generic exception for data read/write failures.InterruptedRuntimeException An unchecked exception that corresponds toInterruptedException
.InvalidDataException A generic exception for reporting invalid data to the user.InvalidDataRuntimeException An invalid data exception for situations where only unchecked exceptions are permitted (for example, in an iterator).InvalidEncodingException An exception to report that encoded data is not valid.InvalidTextException An exception to report that user submitted text is not valid.IORuntimeException An IO exception for situations where only a runtime exception is permitted (for example, in an iterator).LambdaException A runtime exception used to pass an exception through a lambda.OperationFailedException A generic exception indicating that an operation has failed.OperationFailedRuntimeException An operation failed exception for situations where only unchecked exceptions are permitted (for example, in an iterator).ThrowableResult A result that can be thrown.UnsupportedDataException An exception that may be thrown by a method when given unsupported data. -
Error Summary Error Description UndefinedValueError An assertion error for an unexpected undefined result.UnexpectedExceptionError An error to be thrown when an exception is thrown that should not have happened.