Package com.treemap.swing.crossplatform

# Class SwingPreferredSize

java.lang.Object
com.treemap.swing.crossplatform.SwingPreferredSize

All Implemented Interfaces:
  `PreferredSize`

public class SwingPreferredSize extends Object implements PreferredSize
Created by luc on 26.04.17.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SwingPreferredSize(Component component)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Dimension`
  `getMaximumSize()`
  `Dimension`
  `getMinimumSize()`
  `double`
  `getPreferredHeight()`
  `Dimension`
  `getPreferredSize()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SwingPreferredSize

    public SwingPreferredSize(Component component)

- ## Method Details

  - ### getPreferredHeight

    public double getPreferredHeight()
    Specified by:
      `getPreferredHeight` in interface `PreferredSize`

  - ### getPreferredSize

    public Dimension getPreferredSize()
    Specified by:
      `getPreferredSize` in interface `PreferredSize`

  - ### getMinimumSize

    public Dimension getMinimumSize()
    Specified by:
      `getMinimumSize` in interface `PreferredSize`

  - ### getMaximumSize

    public Dimension getMaximumSize()
    Specified by:
      `getMaximumSize` in interface `PreferredSize`