O1Library Docs
Fall 2023
Docs API

# RelativeTo

o1.gui.Dialog$.RelativeTo
See the RelativeTo companion object
final case class RelativeTo(locator: Component) extends Position

A positioning policy that places the dialog near another Swing component. An alternative to Centered.

## Parameters

locator

  the Swing component in front of which the dialog should appear

## Attributes

Companion
  object
Graph
Supertypes
  trait Serializable
  trait Product
  trait Equals
  trait Position
  class Object
  trait Matchable
  class Any
  Show all

## Members list

### Value members

#### Inherited methods

def productElementNames: Iterator[String]

## Attributes

Inherited from:
  Product

def productIterator: Iterator[Any]

## Attributes

Inherited from:
  Product