com.bowstreet.util
Interface GraphicalViewSubscriber

All Known Implementing Classes:
Container, Element, Leaf, PageReference

public interface GraphicalViewSubscriber

The GraphicalViewSubscriber interface is used for any WebAppObjects that can produce a Graphical View


Nested Class Summary
static interface GraphicalViewSubscriber.DesignViewFixer
          Interface for Control Builders who want to be able to change the page XML for the design view.
 
Field Summary
static java.lang.String _GENELEMENT_ATTR
           
static java.lang.String _GENELEMENT_END
           
static java.lang.String _GENELEMENT_START
           
static java.lang.String DRAG_TYPE
           
static java.lang.String DRAG_TYPE_SPECIAL
           
static java.lang.String DROP_TYPES
           
static java.lang.String PAGE_TYPE
           
static java.lang.String ptDETALS
           
static java.lang.String ptFORM
           
static java.lang.String ptNONE
           
static java.lang.String ptTABLE
           
static java.lang.String RESIZE_DIRS
           
static java.lang.String RESIZE_EAST
           
static java.lang.String RESIZE_NORTH
           
static java.lang.String RESIZE_SOUTH
           
static java.lang.String RESIZE_SOUTHEAST
           
static java.lang.String RESIZE_WEST
           
static java.lang.String SAMPLEDATA_ADDED_NODE
           
static java.lang.String SAMPLEDATA_KEY
           
static java.lang.String SAMPLEDATA_SAVED_ATTRNAME
           
static java.lang.String SAMPLEDATA_SAVED_ATTRVALUE
           
static java.lang.String SAMPLEDATA_SAVED_TAG
          Constants used by DesignViewFixers
static java.lang.String SAMPLEDATA_SAVED_TEXT
           
static java.lang.String SAMPLEDATA_SAVED_VALUE
           
 
Method Summary
 GenElement getDesignViewContainerGenElement()
          Get the GenElement for the top level item that contains this one
 IXml getDesignViewXml()
          Get the Xml to show this design view
 IXml getNode()
          Get the node within the DesignViewXML that this element is responsible for
 IXml getWrappingNode()
          Get the outermost node that this element is responsible for
 void tagNodes(GenElement genElement, java.lang.String tag)
          tag the nodes with any drag and drop, etc. tags to pass info to Design View
 

Field Detail

_GENELEMENT_ATTR

static final java.lang.String _GENELEMENT_ATTR
See Also:
Constant Field Values

_GENELEMENT_END

static final java.lang.String _GENELEMENT_END
See Also:
Constant Field Values

_GENELEMENT_START

static final java.lang.String _GENELEMENT_START
See Also:
Constant Field Values

DRAG_TYPE

static final java.lang.String DRAG_TYPE
See Also:
Constant Field Values

DRAG_TYPE_SPECIAL

static final java.lang.String DRAG_TYPE_SPECIAL
See Also:
Constant Field Values

DROP_TYPES

static final java.lang.String DROP_TYPES
See Also:
Constant Field Values

PAGE_TYPE

static final java.lang.String PAGE_TYPE
See Also:
Constant Field Values

ptDETALS

static final java.lang.String ptDETALS
See Also:
Constant Field Values

ptFORM

static final java.lang.String ptFORM
See Also:
Constant Field Values

ptNONE

static final java.lang.String ptNONE
See Also:
Constant Field Values

ptTABLE

static final java.lang.String ptTABLE
See Also:
Constant Field Values

RESIZE_DIRS

static final java.lang.String RESIZE_DIRS
See Also:
Constant Field Values

RESIZE_EAST

static final java.lang.String RESIZE_EAST
See Also:
Constant Field Values

RESIZE_NORTH

static final java.lang.String RESIZE_NORTH
See Also:
Constant Field Values

RESIZE_SOUTH

static final java.lang.String RESIZE_SOUTH
See Also:
Constant Field Values

RESIZE_SOUTHEAST

static final java.lang.String RESIZE_SOUTHEAST
See Also:
Constant Field Values

RESIZE_WEST

static final java.lang.String RESIZE_WEST
See Also:
Constant Field Values

SAMPLEDATA_ADDED_NODE

static final java.lang.String SAMPLEDATA_ADDED_NODE
See Also:
Constant Field Values

SAMPLEDATA_KEY

static final java.lang.String SAMPLEDATA_KEY
See Also:
Constant Field Values

SAMPLEDATA_SAVED_ATTRNAME

static final java.lang.String SAMPLEDATA_SAVED_ATTRNAME
See Also:
Constant Field Values

SAMPLEDATA_SAVED_ATTRVALUE

static final java.lang.String SAMPLEDATA_SAVED_ATTRVALUE
See Also:
Constant Field Values

SAMPLEDATA_SAVED_TAG

static final java.lang.String SAMPLEDATA_SAVED_TAG
Constants used by DesignViewFixers

See Also:
Constant Field Values

SAMPLEDATA_SAVED_TEXT

static final java.lang.String SAMPLEDATA_SAVED_TEXT
See Also:
Constant Field Values

SAMPLEDATA_SAVED_VALUE

static final java.lang.String SAMPLEDATA_SAVED_VALUE
See Also:
Constant Field Values
Method Detail

getDesignViewContainerGenElement

GenElement getDesignViewContainerGenElement()
Get the GenElement for the top level item that contains this one

Returns:
the GenElement for the top level item

getDesignViewXml

IXml getDesignViewXml()
Get the Xml to show this design view

Returns:
Xml to show this design view

getNode

IXml getNode()
Get the node within the DesignViewXML that this element is responsible for

Returns:
the node that this element is responsible for

getWrappingNode

IXml getWrappingNode()
Get the outermost node that this element is responsible for

Returns:
the outermost node that this element is responsible for

tagNodes

void tagNodes(GenElement genElement,
              java.lang.String tag)
tag the nodes with any drag and drop, etc. tags to pass info to Design View

Parameters:
genElement - The genElement for which you are tagging nodes
tag - The genElement selector tag


Copyright © 2009 IBM. All Rights Reserved.