| Package | Description |
|---|---|
| org.apache.jetspeed.portlets.layout |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnLayout.addFragment(ContentFragment fragment)
Adds a fragment to the layout using fragment properties of
row and column as hints on where to put
this fragment. |
protected void |
ColumnLayout.doAdd(int columnNumber,
int rowNumber,
ContentFragment fragment)
Adds a fragment at the indicated
columnNumber
and rowNumber. |
protected void |
ColumnLayout.doMove(ContentFragment fragment,
LayoutCoordinate oldCoordinate,
LayoutCoordinate newCoordinate)
Performs the actual movement of a fragment.
|
void |
PageLayoutEventListener.handleEvent(LayoutEvent event) |
void |
LayoutEventListener.handleEvent(LayoutEvent event)
Invoked anytime a LayoutEvent is dispatched.
|
void |
ColumnLayout.moveDown(ContentFragment fragment) |
void |
ColumnLayout.moveLeft(ContentFragment fragment)
Moves a fragment one column to the left.
|
void |
ColumnLayout.moveRight(ContentFragment fragment)
Moves a fragment one column to the right.
|
void |
ColumnLayout.moveUp(ContentFragment fragment)
Moves a fragment one row to the up.
|
protected void |
ColumnLayout.processEvent(LayoutEvent event)
Dispatches a LayoutEvent to all LayoutEventListeners registered to this layout.
|
| Constructor and Description |
|---|
ColumnLayout(int numberOfColumns,
String layoutType,
Collection<ContentFragment> fragments,
String[] columnWidths) |
ColumnLayout(int numberOfColumns,
String layoutType,
Collection<ContentFragment> fragments,
String[] columnWidths,
ContentFragment maximized)
Same as ColumnLayout(int numberOfColumns, String layoutType) but also
supplies a Collection of fragments to initially populate the layout
with.
|
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.