|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.ss.SSLayout
public class SSLayout
SSLayout is the layout manager for the SpreadSheet's cells and their labels. It sets up components in a rectangular grid similar to GridLayout, but uses the components' preferred sizes to allow for variable-sized cells.
| Constructor Summary | |
|---|---|
SSLayout(int ncol,
int nrow,
int wspace,
int hspace)
Constructs an SSLayout. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(String name,
Component comp)
Not used by SSLayout. |
void |
layoutContainer(Container parent)
Lays out the components. |
Dimension |
minimumLayoutSize(Container parent)
Gets minimum layout size. |
Dimension |
preferredLayoutSize(Container parent)
Gets preferred layout size. |
void |
removeLayoutComponent(Component comp)
Not used by SSLayout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLayout(int ncol,
int nrow,
int wspace,
int hspace)
| Method Detail |
|---|
public void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerpublic Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerpublic Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManager
public void addLayoutComponent(String name,
Component comp)
addLayoutComponent in interface LayoutManagerpublic void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||