|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes that extend abstract class Layout and implement this interface can take part in layout computation of the TableWrapLayout manager. This layout uses alternative algorithm that computes columns before rows. It allows it to 'flow' wrapped text proportionally (similar to the way web browser renders tables). Custom layout managers that implement this interface will allow TableWrapLayout to properly compute width hint to pass.
TableWrapLayout
,
ColumnLayout
Method Summary | |
int |
computeMaximumWidth(Composite parent,
boolean changed)
Computes the maximum width of the parent. |
int |
computeMinimumWidth(Composite parent,
boolean changed)
Computes the minimum width of the parent. |
Method Detail |
public int computeMinimumWidth(Composite parent, boolean changed)
parent
- the parent compositechanged
- true
if the cached information should be
flushed, false
otherwise.
public int computeMaximumWidth(Composite parent, boolean changed)
parent
- the parent compositechanged
- true
if the cached information
should be flushed, false
otherwise.
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.