com.alee.extended.layout
Class SlidingLayout

java.lang.Object
  extended by com.alee.extended.layout.AbstractLayoutManager
      extended by com.alee.extended.layout.SlidingLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2

public class SlidingLayout
extends AbstractLayoutManager

User: mgarin Date: 11.04.12 Time: 17:30


Field Summary
protected  WebTimer animator
           
protected  javax.swing.JComponent container
           
protected  int height
           
protected  int slideSpeed
           
protected  int slideY
           
 
Constructor Summary
SlidingLayout(javax.swing.JComponent container)
           
 
Method Summary
 int getSlideSpeed()
           
 void layoutContainer(java.awt.Container parent)
          
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          
 void setSlideSpeed(int slideSpeed)
           
 void slideIn()
           
 void slideOut()
           
 
Methods inherited from class com.alee.extended.layout.AbstractLayoutManager
addComponent, addLayoutComponent, addLayoutComponent, getLayoutAlignmentX, getLayoutAlignmentY, invalidateLayout, maximumLayoutSize, minimumLayoutSize, removeComponent, removeLayoutComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

slideY

protected int slideY

animator

protected WebTimer animator

height

protected int height

slideSpeed

protected int slideSpeed

container

protected javax.swing.JComponent container
Constructor Detail

SlidingLayout

public SlidingLayout(javax.swing.JComponent container)
Method Detail

slideIn

public void slideIn()

getSlideSpeed

public int getSlideSpeed()

setSlideSpeed

public void setSlideSpeed(int slideSpeed)

slideOut

public void slideOut()

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)


layoutContainer

public void layoutContainer(java.awt.Container parent)