| java.lang.Object nextapp.echo2.webcontainer.syncpeer.TriCellTableConfigurator
TriCellTableConfigurator | class TriCellTableConfigurator (Code) | | Provides utility methods to configure TriCellTable for
text/state positions specified by buttons/labels.
|
convertIconTextPositionToOrientation | static int convertIconTextPositionToOrientation(Alignment textPosition, Component component)(Code) | | Converts the value of a textPosition property into a value
suitable to be passed to a TriCellTable as an
orientation constructor parameter.
This method assumes that the TriCellTable is being rendered
with text at index 0 and icon at position 1.
Parameters: textPosition - the Alignment Parameters: component - the component being rendered the orientation value |
convertStatePositionToOrientation | static int convertStatePositionToOrientation(Alignment statePosition, Component component)(Code) | | Converts the value of the stateAlignment property of a
ToggleButton into a value suitable to be passed to a
TriCellTable as an orientation constructor
parameter.
This method assumes that the TriCellTable is rendered with
text/icon at lower indices than the state.
Parameters: statePosition - the state position Alignment Parameters: component - the button being rendered the orientation value |
|
|