org.optaplanner.examples.common.swingui.timetable
Class TimeTableLayout
java.lang.Object
org.optaplanner.examples.common.swingui.timetable.TimeTableLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2, Serializable
public class TimeTableLayout
- extends Object
- implements LayoutManager2, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILL_COLLISIONS_FLAG
public static final int FILL_COLLISIONS_FLAG
- See Also:
- Constant Field Values
TimeTableLayout
public TimeTableLayout()
reset
public void reset()
addColumn
public int addColumn()
addColumn
public int addColumn(int baseWidth)
addRow
public int addRow()
addRow
public int addRow(int baseHeight)
addRow
public int addRow(boolean autoHeight,
int baseHeight)
addLayoutComponent
public void addLayoutComponent(Component component,
Object o)
- Specified by:
addLayoutComponent
in interface LayoutManager2
addLayoutComponent
public void addLayoutComponent(String name,
Component component)
- Specified by:
addLayoutComponent
in interface LayoutManager
removeLayoutComponent
public void removeLayoutComponent(Component component)
- Specified by:
removeLayoutComponent
in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize
in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize
in interface LayoutManager
maximumLayoutSize
public Dimension maximumLayoutSize(Container target)
- Specified by:
maximumLayoutSize
in interface LayoutManager2
getLayoutAlignmentX
public float getLayoutAlignmentX(Container target)
- Specified by:
getLayoutAlignmentX
in interface LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(Container target)
- Specified by:
getLayoutAlignmentY
in interface LayoutManager2
invalidateLayout
public void invalidateLayout(Container target)
- Specified by:
invalidateLayout
in interface LayoutManager2
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainer
in interface LayoutManager
update
public void update()
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.