Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ulu.view.ui.sirius
Class ViewPane  view ViewPane download ViewPane.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended bydog.gui.DContainer
              extended byulu.view.ui.sirius.ClientPane
                  extended byulu.view.ui.sirius.ViewPane
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 ViewPane
extends ClientPane

The ViewPane shows the contents of a container in columnar mode


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
private  java.lang.String[] cachedcols
          unsullied list of columns derived most recently (if we ask the dog.gui.DList, it will incvlude the empty icon header, etc.)
private  java.lang.String grpfilter
          name of property to arrange groups by
(package private)  dog.gui.DList list
          gui component used to render listing
(package private) static java.util.Hashtable views
          global list of open windows, used to prevent repeated opening of a particular view
 
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
ViewPane()
          constructor
 
Method Summary
 void addActionListener(java.awt.event.ActionListener al)
          convenient access to the list's listeners
 void addItemListener(java.awt.event.ItemListener il)
          convenient access to the list's listeners
 void addItems(ulu.view.View v, ulu.view.Item[] its)
          add new items and repaint
(package private)  ulu.view.Item[] allItems()
          return all items in view as an array
 void compareViews(ulu.view.View oldV, ulu.view.View newV)
          when setting a new view, also manage history functions and column settings
 java.lang.String getGroupFilter()
          get the group string filtering items at GUI layer
 dog.gui.DList getList()
          get the underlying DList component
 ulu.view.Item getSelected()
          get the currently selected Item (as opposed to the gui-layer DItem)
 void modifyItems(ulu.view.View v, ulu.view.Item[] its, java.lang.String[] props)
          modify selected items and repaint
 void refreshAll()
          refresh all items
 void removeActionListener(java.awt.event.ActionListener al)
          convenient access to the list's listeners
 void removeItemListener(java.awt.event.ItemListener il)
          convenient access to the list's listeners
 void removeItems(ulu.view.View v, ulu.view.Item[] its)
          remove items and repaint
 void repaint()
          repaint this component
 void setGroupFilter(java.lang.String str)
          set the group filter string
 void setLOD(int i)
          set level of detail by rendering as list or detailed view
 void setSelected(ulu.view.Item it)
          set the selected Item
 void setSelected(java.lang.String name)
          set selected by item name
 void syncColumns()
          synchronize gui widget columns to those recommended by the current view
 
Methods inherited from class ulu.view.ui.sirius.ClientPane
getColHints, getColHints, getGroup, getItemCache, getLOD, getLODHints, getLODHints, getPageLength, getScrapbook, getView, handleRefresh, init, isSociable, makeDItem, makeDItem, makeDItem, refresh, refresh, removeDItem, respond, revalidateParent, revalidateParent, revalidateParents, setGroup, setPageLength, setSociable, setView, setView, syncProps, syncProps, syncProps
 
Methods inherited from class dog.gui.DContainer
addImpl, addPropertyChangeListener, alignParamString, drawActiveButtonBorder, drawActiveOptionBorder, drawArrow, drawBorder, drawButtonBorder, drawCheckbox, drawDarkBorder, drawDefaultButtonBorder, drawDisabledBorder, drawDisabledCheckbox, drawDisabledOption, drawExpander, drawFocusBorder, drawImage, drawLabel, drawOption, drawOptionBorder, drawPressedBorder, getCancelButton, getComponent, getDefaultButton, getDefaultToolkit, getImage, getImage, getImage, getReference, getRootPane, getTooltip, isPreloadImages, paramString, processCancelAction, processDefaultAction, processEvent, processMouseEvent, processMouseMotionEvent, removePropertyChangeListener, setCancelButton, setDefaultButton, setEnabled, setPreloadImages, setReference, setTooltip, toString
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addNotify, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

list

dog.gui.DList list
gui component used to render listing


views

static java.util.Hashtable views
global list of open windows, used to prevent repeated opening of a particular view


cachedcols

private java.lang.String[] cachedcols
unsullied list of columns derived most recently (if we ask the dog.gui.DList, it will incvlude the empty icon header, etc.)


grpfilter

private java.lang.String grpfilter
name of property to arrange groups by

Constructor Detail

ViewPane

public ViewPane()
constructor

Method Detail

getList

public dog.gui.DList getList()
get the underlying DList component


addActionListener

public void addActionListener(java.awt.event.ActionListener al)
convenient access to the list's listeners


removeActionListener

public void removeActionListener(java.awt.event.ActionListener al)
convenient access to the list's listeners


addItemListener

public void addItemListener(java.awt.event.ItemListener il)
convenient access to the list's listeners


removeItemListener

public void removeItemListener(java.awt.event.ItemListener il)
convenient access to the list's listeners


compareViews

public void compareViews(ulu.view.View oldV,
                         ulu.view.View newV)
when setting a new view, also manage history functions and column settings

Overrides:
compareViews in class ClientPane

addItems

public void addItems(ulu.view.View v,
                     ulu.view.Item[] its)
add new items and repaint

Overrides:
addItems in class ClientPane

removeItems

public void removeItems(ulu.view.View v,
                        ulu.view.Item[] its)
remove items and repaint

Overrides:
removeItems in class ClientPane

modifyItems

public void modifyItems(ulu.view.View v,
                        ulu.view.Item[] its,
                        java.lang.String[] props)
modify selected items and repaint

Overrides:
modifyItems in class ClientPane

setLOD

public void setLOD(int i)
set level of detail by rendering as list or detailed view

Overrides:
setLOD in class ClientPane

allItems

ulu.view.Item[] allItems()
return all items in view as an array


refreshAll

public void refreshAll()
refresh all items

Overrides:
refreshAll in class ClientPane

syncColumns

public void syncColumns()
synchronize gui widget columns to those recommended by the current view


getSelected

public ulu.view.Item getSelected()
get the currently selected Item (as opposed to the gui-layer DItem)


setSelected

public void setSelected(ulu.view.Item it)
set the selected Item


setSelected

public void setSelected(java.lang.String name)
set selected by item name


repaint

public void repaint()
repaint this component


getGroupFilter

public java.lang.String getGroupFilter()
get the group string filtering items at GUI layer


setGroupFilter

public void setGroupFilter(java.lang.String str)
set the group filter string