|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.interactor.IlpAbstractPopupMenuFactory
ilog.cpl.table.IlpDefaultTableHeaderMenuFactory
public class IlpDefaultTableHeaderMenuFactory
This factory provides a default pop-up menu for the header of table views. This menu allows the following actions:
| Constructor Summary | |
|---|---|
IlpDefaultTableHeaderMenuFactory()
|
|
| Method Summary | |
|---|---|
JPopupMenu |
createPopupMenu(IlpObjectSelectionModel ilpSelectionModel)
Creates the table header default pop-up menu. |
JPopupMenu |
createPopupMenu(IlpTableHeaderInteractionContext context,
IlpAttribute attribute,
IlpObjectSelectionModel ilpSelectionModel)
Creates the table header default pop-up menu. |
boolean |
isSortAttributes()
Returns the way attribute names are sorted in the "Show Attributes" menu. |
void |
setSortAttributes(boolean value)
Sets the way attribute names are sorted in the "Show Attributes" menu. |
| Methods inherited from class ilog.cpl.interactor.IlpAbstractPopupMenuFactory |
|---|
createPopupMenu, createPopupMenu, getInteractionContext, getView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpDefaultTableHeaderMenuFactory()
| Method Detail |
|---|
public boolean isSortAttributes()
true when attribute names are sorted alphabetically.
false when attribute names are arranged according to
the table column order.public void setSortAttributes(boolean value)
value - The new value to be set. When true attribute
names are sorted alphabetically; when false
attribute names are arranged according to the table column
order.public JPopupMenu createPopupMenu(IlpObjectSelectionModel ilpSelectionModel)
createPopupMenu(IlpTableHeaderInteractionContext, IlpAttribute, IlpObjectSelectionModel).
createPopupMenu in class IlpAbstractPopupMenuFactoryilpSelectionModel - The selection model used by the view this menu is
made for. This selection model allows you to know which business
objects are selected.
public JPopupMenu createPopupMenu(IlpTableHeaderInteractionContext context,
IlpAttribute attribute,
IlpObjectSelectionModel ilpSelectionModel)
context - The table header interaction context describing the
interaction that led to this method.attribute - The attribute of the column concerned.ilpSelectionModel - The selection model used by the view this menu is
made for. This selection model allows you to know which business
objects are selected.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||