|
|||||||||
| Home >> All >> ulu >> view >> ui >> [ sirius overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ulu.view.ui.sirius
Class GroupTabChooser

java.lang.Objectjava.awt.Component
java.awt.Container
dog.gui.DContainer
ulu.view.ui.sirius.ClientPane
ulu.view.ui.sirius.GroupTabChooser
- All Implemented Interfaces:
- dog.gui.DConstants, java.util.EventListener, ulu.view.ui.Groupable, java.awt.image.ImageObserver, java.awt.MenuContainer, dog.util.Referential, java.io.Serializable, ulu.view.UEventListener
- public class GroupTabChooser
- extends ClientPane
A ClientPane that presents all unique values for a given group as items in a drop-down list - a more compact (if slightly more fiddly) control than the GroupTabPane.
| Nested Class Summary |
| Nested classes inherited from class dog.gui.DContainer |
|
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
(package private) dog.gui.DChoice |
choice
|
java.lang.String |
tabbedfld
name of the UField to filter on |
private java.lang.Object |
tabfldval
field that has been used to derive the tabs |
| Fields inherited from class ulu.view.ui.sirius.ClientPane |
GroupId, NamedGuiItems, pagelen, refreshable, sociable, UnnamedGuiItems, view |
| Fields inherited from class dog.gui.DContainer |
cancelButton, defaultButton, reference, tooltip |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface dog.gui.DConstants |
CENTER, CENTER_TILE, EAST, INTEGER_TILE, MAXIMIZE, MAXIMIZE_ASPECT, MAXIMIZE_HORIZONTAL, MAXIMIZE_VERTICAL, NORTH, NORTHEAST, NORTHWEST, SOUTH, SOUTHEAST, SOUTHWEST, TILE, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
GroupTabChooser()
null-arg constructor |
|
GroupTabChooser(java.lang.String grp)
constructor with a defined group to join |
|
| Method Summary | |
(package private) void |
arrangeTabs()
determine which tabs we ought to use, and repopulate the component |
void |
compareViews(ulu.view.View oldV,
ulu.view.View newV)
when comparing views, also check for difference and recreate if differ |
java.util.Vector |
deduceTabs(java.lang.String tabbedfld,
ulu.view.UContainer u)
get a list of unique values the hard way! (but more generic) |
java.lang.String |
getTabbedFieldName()
get the name of the field being filtered on |
java.util.Vector |
getTabs(java.lang.String tabbedfld,
ulu.view.Propertied p)
get a list of unique values for the named group |
private void |
realArrangeTabs()
do grunt-work of repopulating the component |
void |
refreshAll()
redraw the whole container because everything has changed |
void |
setTabbedFieldName(java.lang.String s)
set the name of the field being filtered on |
void |
setTabbedFieldValue(java.lang.String str)
set the value of the tabbed field |
void |
tabChanged(java.awt.event.ItemEvent ev)
action handler for tab selection - modifies the filter and sends redirect to the underlying container |
| Methods inherited from class ulu.view.ui.sirius.ClientPane |
addItems, getColHints, getColHints, getGroup, getItemCache, getLOD, getLODHints, getLODHints, getPageLength, getScrapbook, getView, handleRefresh, init, isSociable, makeDItem, makeDItem, makeDItem, modifyItems, refresh, refresh, removeDItem, removeItems, respond, revalidateParent, revalidateParent, revalidateParents, setGroup, setLOD, setPageLength, setSociable, setView, setView, syncProps, syncProps, syncProps |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
choice
dog.gui.DChoice choice
tabfldval
private java.lang.Object tabfldval
- field that has been used to derive the tabs
tabbedfld
public java.lang.String tabbedfld
- name of the UField to filter on
| Constructor Detail |
GroupTabChooser
public GroupTabChooser()
- null-arg constructor
GroupTabChooser
public GroupTabChooser(java.lang.String grp)
- constructor with a defined group to join
| Method Detail |
getTabbedFieldName
public java.lang.String getTabbedFieldName()
- get the name of the field being filtered on
setTabbedFieldName
public void setTabbedFieldName(java.lang.String s)
- set the name of the field being filtered on
setTabbedFieldValue
public void setTabbedFieldValue(java.lang.String str)
- set the value of the tabbed field
compareViews
public void compareViews(ulu.view.View oldV, ulu.view.View newV)
- when comparing views, also check for difference and recreate if differ
- Overrides:
compareViewsin classClientPane
arrangeTabs
void arrangeTabs()
- determine which tabs we ought to use, and repopulate the component
realArrangeTabs
private void realArrangeTabs()
- do grunt-work of repopulating the component
getTabs
public java.util.Vector getTabs(java.lang.String tabbedfld, ulu.view.Propertied p)
- get a list of unique values for the named group
deduceTabs
public java.util.Vector deduceTabs(java.lang.String tabbedfld, ulu.view.UContainer u)
- get a list of unique values the hard way! (but more generic)
tabChanged
public void tabChanged(java.awt.event.ItemEvent ev)
- action handler for tab selection - modifies the filter and sends redirect to the underlying container
refreshAll
public void refreshAll()
- redraw the whole container because everything has changed
- Overrides:
refreshAllin classClientPane
|
|||||||||
| Home >> All >> ulu >> view >> ui >> [ sirius overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC