hep.aida.web.taglib
Class RegionTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.RegionTagSupport
All Implemented Interfaces:
RegionTag, StyleProvider

public class RegionTagSupport
extends java.lang.Object
implements RegionTag

The implementation class for all RegionTag classes.

Author:
The AIDA Team @ SLAC

Field Summary
 
Fields inherited from interface hep.aida.web.taglib.StyleProvider
plotterStyle
 
Constructor Summary
RegionTagSupport()
           
 
Method Summary
 void doStartTag(PlotterTagSupport plotterTagSupport, javax.servlet.jsp.PageContext pageContext)
           
 int getColSpan()
           
 double getHeight()
           
 java.lang.String getHref()
           
 hep.aida.IPlotterRegion getPlotterRegion()
           
 int getRowSpan()
           
 hep.aida.IBaseStyle getStyle()
           
 hep.aida.IBaseStyle getStyle(java.lang.String type)
           
 java.lang.String getTitle()
           
 java.lang.String getVar()
           
 double getWidth()
           
 double getX()
           
 double getY()
           
 void setColSpan(int colSpan)
          Set the number of vertical cells spanned in the region grid.
 void setHeight(double height)
          Set the relative height of the region within the plotter (a number between 0 and 1).
 void setHref(java.lang.String href)
          Specify an href to the region.
 void setRowSpan(int rowSpan)
          Set the number of horizontal cells spanned in the region grid.
 void setScope(java.lang.String scope)
           
 void setTitle(java.lang.String title)
          Set the title of the plot in the current region.
 void setVar(java.lang.String var)
           
 void setWidth(double width)
          Set the relative width of the region within the plotter (a number between 0 and 1).
 void setX(double x)
          Set the relative horizontal position of the region within the plotter (a number between 0 and 1).
 void setY(double y)
          Set the relative vertical position of the region within the plotter (a number between 0 and 1).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionTagSupport

public RegionTagSupport()
Method Detail

doStartTag

public void doStartTag(PlotterTagSupport plotterTagSupport,
                       javax.servlet.jsp.PageContext pageContext)
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

getPlotterRegion

public hep.aida.IPlotterRegion getPlotterRegion()

setX

public void setX(double x)
Description copied from interface: RegionTag
Set the relative horizontal position of the region within the plotter (a number between 0 and 1).

Specified by:
setX in interface RegionTag
Parameters:
x - relative x position of the region within the plotter

getX

public double getX()

setY

public void setY(double y)
Description copied from interface: RegionTag
Set the relative vertical position of the region within the plotter (a number between 0 and 1).

Specified by:
setY in interface RegionTag
Parameters:
y - relative y position of the region within the plotter

getY

public double getY()

setWidth

public void setWidth(double width)
Description copied from interface: RegionTag
Set the relative width of the region within the plotter (a number between 0 and 1).

Specified by:
setWidth in interface RegionTag
Parameters:
width - relative width of the region within the plotter

getWidth

public double getWidth()

setHeight

public void setHeight(double height)
Description copied from interface: RegionTag
Set the relative height of the region within the plotter (a number between 0 and 1).

Specified by:
setHeight in interface RegionTag
Parameters:
height - relative height of the region within the plotter

getHeight

public double getHeight()

setRowSpan

public void setRowSpan(int rowSpan)
Description copied from interface: RegionTag
Set the number of horizontal cells spanned in the region grid.

Specified by:
setRowSpan in interface RegionTag
Parameters:
rowSpan - number of horizontal cells spanned in the region grid

getRowSpan

public int getRowSpan()

setColSpan

public void setColSpan(int colSpan)
Description copied from interface: RegionTag
Set the number of vertical cells spanned in the region grid.

Specified by:
setColSpan in interface RegionTag
Parameters:
colSpan - number of vertical cells spanned in the region grid

getColSpan

public int getColSpan()

setHref

public void setHref(java.lang.String href)
Description copied from interface: RegionTag
Specify an href to the region. If the plotter has an image map and the region regerence is specified, then it is clickable.

Specified by:
setHref in interface RegionTag

getHref

public java.lang.String getHref()

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: RegionTag
Set the title of the plot in the current region.

Specified by:
setTitle in interface RegionTag

getTitle

public java.lang.String getTitle()

setVar

public void setVar(java.lang.String var)
Specified by:
setVar in interface RegionTag

getVar

public java.lang.String getVar()

getStyle

public hep.aida.IBaseStyle getStyle()
                             throws javax.servlet.jsp.JspException
Specified by:
getStyle in interface StyleProvider
Throws:
javax.servlet.jsp.JspException

getStyle

public hep.aida.IBaseStyle getStyle(java.lang.String type)
                             throws javax.servlet.jsp.JspException
Specified by:
getStyle in interface StyleProvider
Throws:
javax.servlet.jsp.JspException

setScope

public void setScope(java.lang.String scope)


Copyright 2000-2007 FreeHEP. All Rights Reserved.