O1Library Docs
Fall 2023
Docs API

# swingops

o1.gui.swingops$
object swingops

Life-quality improvements for working with the Swing GUI library in Scala.

## Attributes

Graph
Supertypes
  class Object
  trait Matchable
  class Any
Self type
  swingops.type

## Members list

### Type members

#### Classlikes

object BufferedImage

## Attributes

Supertypes
  class Object
  trait Matchable
  class Any
Self type
  BufferedImage.type

object Dimension

## Attributes

Supertypes
  class Object
  trait Matchable
  class Any
Self type
  Dimension.type

object Point

## Attributes

Supertypes
  class Object
  trait Matchable
  class Any
Self type
  Point.type

object Rectangle

## Attributes

Supertypes
  class Object
  trait Matchable
  class Any
Self type
  Rectangle.type

#### Types

type BufferedImage = BufferedImage
type Dimension = Dimension
type Point = Point
type Rectangle = Rectangle

### Givens

given given_CanEqual_Component_Component: CanEqual[Component, Component]
given given_CanEqual_Dimension_Dimension: CanEqual[Dimension, Dimension]
given given_CanEqual_Value_Value: CanEqual[Value, Value]

### Extensions

extension (self: Label)(self: Label)
def iconOption: Option[Icon]
def iconOption_=(newIcon: Option[Icon]): Unit
extension (self: Window)(self: Window)
def setTitleBarImage(newImage: Option[Image]): Unit
def setTitleBarPic(newPic: Option[Pic]): Unit
extension (self: BufferedImage)(self: BufferedImage)
def dimensions: Dimension
def height: Int
def width: Int
extension (self: Dimension)(self: Dimension)
def higher(amount: Int): Dimension
def wider(amount: Int): Dimension
def withHeight(height: Int): Dimension
def withWidth(width: Int): Dimension