|
|||||||||
| 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 CombiPane

java.lang.Objectjava.awt.Component
java.awt.Container
dog.gui.DContainer
dog.gui.DFrameset
ulu.view.ui.sirius.CombiPane
- All Implemented Interfaces:
- dog.gui.DConstants, ulu.view.ui.Groupable, java.awt.image.ImageObserver, java.awt.MenuContainer, dog.util.Referential, java.io.Serializable
- public class CombiPane
- extends dog.gui.DFrameset
- implements ulu.view.ui.Groupable
- extends dog.gui.DFrameset
Combined pane showing contents of a view plus details of the selected item.
It is simply a bit of glue around a ViewPane and an ItemPane, hooking together events so that the ItemPane switches to the highlighted element in the viewpane, rather than the parent container. It's a bit of a hack, there might be an easier way to combine components allowing arbitrary views to follow the selected child??
| 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 | |
ItemPane |
itemp
itempane showing details of the container, or of a selected child item |
(package private) int |
pagelen
page length (in number of items) |
ViewPane |
viewp
the viewpane showing list of items in current container |
| Fields inherited from class dog.gui.DFrameset |
allowUserResize, dimensions, dimpled, gap, HORIZONTAL, orientation, percentages, VERTICAL |
| 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 | |
CombiPane()
constructor sets up the gui components and takes as argument the group to which groupable components belong |
|
| Method Summary | |
java.lang.String |
getGroup()
get Group this component belongs to, and pass it to children |
int |
getPageLength()
get the current paging length |
ulu.view.View |
getView()
get the current view |
boolean |
isSociable()
test whether this Groupable is currently willing to follow the group, rather than stick to displaying its own view |
void |
setGroup(java.lang.String gr)
set Group for this component by forcing its children to that group |
void |
setPageLength(int i)
set the current page length (-1 is show all, no paging) |
void |
setSociable(boolean b)
set whether this Groupable is currently willing to follow the group, rather than stick to displaying its own view |
void |
setView(ulu.view.View v)
set the view being displayed |
void |
setView(ulu.view.View v,
boolean broadcast)
set the current view |
| Methods inherited from class dog.gui.DFrameset |
addImpl, doLayout, getMinimumSize, getOrientation, getPreferredSize, isAllowUserResize, isDimpled, paint, processMouseEvent, processMouseMotionEvent, setAllowUserResize, setDimpled, setOrientation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
viewp
public ViewPane viewp
- the viewpane showing list of items in current container
itemp
public ItemPane itemp
- itempane showing details of the container, or of a selected child item
pagelen
int pagelen
- page length (in number of items)
| Constructor Detail |
CombiPane
public CombiPane()
- constructor sets up the gui components and takes as argument the group
to which groupable components belong
| Method Detail |
getView
public ulu.view.View getView()
- get the current view
- Specified by:
getViewin interfaceulu.view.ui.Groupable
setView
public void setView(ulu.view.View v, boolean broadcast)
- set the current view
- Specified by:
setViewin interfaceulu.view.ui.Groupable
setView
public void setView(ulu.view.View v)
- set the view being displayed
- Specified by:
setViewin interfaceulu.view.ui.Groupable
getGroup
public java.lang.String getGroup()
- get Group this component belongs to, and pass it to children
- Specified by:
getGroupin interfaceulu.view.ui.Groupable
setGroup
public void setGroup(java.lang.String gr)
- set Group for this component by forcing its children to that group
- Specified by:
setGroupin interfaceulu.view.ui.Groupable
isSociable
public boolean isSociable()
- test whether this Groupable is currently willing to follow the group, rather than
stick to displaying its own view
- Specified by:
isSociablein interfaceulu.view.ui.Groupable
setSociable
public void setSociable(boolean b)
- set whether this Groupable is currently willing to follow the group, rather than
stick to displaying its own view
- Specified by:
setSociablein interfaceulu.view.ui.Groupable
getPageLength
public int getPageLength()
- get the current paging length
setPageLength
public void setPageLength(int i)
- set the current page length (-1 is show all, no paging)
|
|||||||||
| Home >> All >> ulu >> view >> ui >> [ sirius overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC