public class IlpDefaultTableHeaderMenuFactory extends IlpAbstractPopupMenuFactory
Constructor and Description |
---|
IlpDefaultTableHeaderMenuFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
createPopupMenu, createPopupMenu, getInteractionContext, getView
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 IlpAbstractPopupMenuFactory
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.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.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.