|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JList | +--users.swing.JUserList
A list box that will display all users managed by a UserManager.
UserManager
,
User
, Serialized FormInner Class Summary | |
static class |
JUserList.UserListCellRenderer
The list cell renderer to render User objects in list cells. |
Inner classes inherited from class javax.swing.JList |
JList.AccessibleJList |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
JUserList()
Create a new JUserList displaying the set of users managed by the global UserManager. |
|
JUserList(UserFilter uf,
Comparator cmp)
Create a new JUserList modelling the global UserManager. |
|
JUserList(UserManager um)
Create a new JUserList displaying the set of users managed by a given UserManager. |
|
JUserList(UserManager um,
UserFilter uf,
Comparator cmp)
Create a new JUserList modelling a given UserManager. |
Method Summary | |
User |
getSelectedUser()
Convenience method returning the currently selected user. |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public JUserList()
public JUserList(UserManager um)
um
- the UserManager to be displayed.public JUserList(UserFilter uf, Comparator cmp)
uf
- a filter that defines the set of users to be displayed. If null
, no filtering will
occur.cmp
- a Comparator that defines the order of the users to be displayed. The objects to be compared
by this comparator will be Users. If null
, users will be ordered by their names.public JUserList(UserManager um, UserFilter uf, Comparator cmp)
um
- the UserManager to be modelled.uf
- a filter that defines the set of users to be displayed. If null
, no filtering will
occur.cmp
- a Comparator that defines the order of the users to be displayed. The objects to be compared
by this comparator will be Users. If null
, users will be ordered by their names.Method Detail |
public User getSelectedUser()
|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |