com.jgoodies.looks.common
public final class PopupMenuLayout extends BoxLayout implements UIResource
maxTextWidth
and maxAccWidth
in
the method {@link #invalidateLayout(Container)} and not in the method
{@link #preferredLayoutSize(Container)}.
Version: $Revision: 1.2 $
Constructor Summary | |
---|---|
PopupMenuLayout(Container target, int axis)
Creates a layout manager that will lay out components along
the given axis.
|
Method Summary | |
---|---|
void | invalidateLayout(Container target)
Indicates that a child has changed its layout related information,
and thus any cached calculations should be flushed.
|
Parameters: target the container that needs to be laid out axis the axis to lay out components along
In case the target is an instance of JPopupMenu it flushes the values of
the client properties maxTextWidth
and maxAccWidth
.
Parameters: target the affected container