|
|||||||||
Home >> All >> com >> sunwheeltech >> [ sirius overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
com.sunwheeltech.sirius
Class GenericBrowserPanel

java.lang.Objectjava.awt.Component
java.awt.Container
dog.gui.DContainer
dog.gui.DRootPanel
com.sunwheeltech.sirius.GenericBrowserPanel
- All Implemented Interfaces:
- dog.gui.DConstants, dog.gui.DRootPane, java.awt.image.ImageObserver, java.awt.MenuContainer, dog.util.Referential, java.io.Serializable
- public abstract class GenericBrowserPanel
- extends dog.gui.DRootPanel
Generic top-level browser pane used as a common base for browser beans. It is abstract because it doesn't define a RootName to be used wen defining groups of coordinated components
Nested Class Summary | |
private class |
GenericBrowserPanel.EventProxy
delegate that listens for selection changes in the ViewPane, and reports to listeners registered to this component |
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 | |
private ulu.view.ui.sirius.UncContainer |
body
|
protected java.beans.PropertyChangeSupport |
changes
bean propery change support helper object |
(package private) ulu.view.ui.sirius.CombiPane |
cpane
combination list/detail GUI view of panel |
private GenericBrowserPanel.EventProxy |
evprox
the event proxy that handles notification of selection changes |
protected java.util.Vector |
listeners
list of registered listeners |
(package private) ulu.view.View |
root
root view shown by this panel |
Fields inherited from class dog.gui.DRootPanel |
backgroundImage, cancelButton, defaultButton, mode |
Fields inherited from class dog.gui.DContainer |
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 | |
GenericBrowserPanel()
constructor sets up the gui components |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a property change listener to receive notification of changes to this component. |
void |
addToolbars(java.awt.Container c)
add custom toolbar widgets - override to do something useful |
void |
addToScript(java.lang.String name,
java.lang.Object obj)
add an object to the scripting environment |
void |
addTreeBrowserListener(TreeBrowserListener lsnr)
add a listener |
protected void |
execScript(java.io.InputStream instr,
boolean init)
invoke a python script on this container (typically to populate the scrapbook) |
protected void |
execScript(java.lang.String scriptfile,
java.lang.Class refclass,
boolean init)
invoke a python script on this container (typically to populate the scrapbook) |
protected void |
fireEvent(ulu.view.Item it,
java.util.EventObject obj)
fire a TreeBrowserEvent to all interested listeners |
ulu.view.View |
getRoot()
get the root view shown by this panel |
abstract java.lang.String |
getRootName()
return a standard root name used for deriving a name for all coordinated components contained in this group. |
ulu.view.View |
getScrapbook()
get the scrapbook view for this client |
ulu.view.View |
getView()
get the current view |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a property change listener so it no longer receives notification of changes to this component. |
void |
removeTreeBrowserListener(TreeBrowserListener lsnr)
remove a listener |
void |
setView(ulu.view.View v)
set the current view |
Methods inherited from class dog.gui.DRootPanel |
add, addImpl, centre, doLayout, getBackgroundImage, getCancelButton, getDefaultButton, getFrame, getMaximumSize, getMinimumSize, getMode, getPreferredSize, getTitle, imageUpdate, invalidate, paint, paintImpl, processCancelAction, processDefaultAction, processKeyEvent, remove, removeAll, setBackgroundImage, setBackgroundImage, setBackgroundImage, setCancelButton, setDefaultButton, setLayout, setMode, setPreferredSize, setTitle, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface dog.gui.DRootPane |
getFont, getFontMetrics, getInsets, getSize, setCursor |
Field Detail |
body
private ulu.view.ui.sirius.UncContainer body
root
ulu.view.View root
- root view shown by this panel
cpane
ulu.view.ui.sirius.CombiPane cpane
- combination list/detail GUI view of panel
evprox
private GenericBrowserPanel.EventProxy evprox
- the event proxy that handles notification of selection changes
changes
protected java.beans.PropertyChangeSupport changes
- bean propery change support helper object
listeners
protected java.util.Vector listeners
- list of registered listeners
Constructor Detail |
GenericBrowserPanel
public GenericBrowserPanel()
- constructor sets up the gui components
Method Detail |
getRoot
public ulu.view.View getRoot()
- get the root view shown by this panel
getRootName
public abstract java.lang.String getRootName()
- return a standard root name used for deriving a name for all coordinated components
contained in this group. (typically a name based on the widget e.g. a file browser bean may
return "filebrowser", resulting in group names like 'filebrowser-1'
addToolbars
public void addToolbars(java.awt.Container c)
- add custom toolbar widgets - override to do something useful
getView
public ulu.view.View getView()
- get the current view
setView
public void setView(ulu.view.View v)
- set the current view
getScrapbook
public ulu.view.View getScrapbook()
- get the scrapbook view for this client
execScript
protected void execScript(java.lang.String scriptfile, java.lang.Class refclass, boolean init)
- invoke a python script on this container (typically to populate the scrapbook)
execScript
protected void execScript(java.io.InputStream instr, boolean init)
- invoke a python script on this container (typically to populate the scrapbook)
addToScript
public void addToScript(java.lang.String name, java.lang.Object obj)
- add an object to the scripting environment
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
- Adds a property change listener to receive notification of changes to this component.
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
- Removes a property change listener so it no longer receives notification of changes to this component.
fireEvent
protected void fireEvent(ulu.view.Item it, java.util.EventObject obj)
- fire a TreeBrowserEvent to all interested listeners
addTreeBrowserListener
public void addTreeBrowserListener(TreeBrowserListener lsnr)
- add a listener
removeTreeBrowserListener
public void removeTreeBrowserListener(TreeBrowserListener lsnr)
- remove a listener
|
|||||||||
Home >> All >> com >> sunwheeltech >> [ sirius overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |