Package net.i2p.router.web.helpers
Class GraphHelper
java.lang.Object
net.i2p.router.web.FormHandler
net.i2p.router.web.helpers.GraphHelper
/graphs.jsp, including form, and /graph.jsp
- 
Field Summary
Fields inherited from class net.i2p.router.web.FormHandler
_action, _context, _log, _method, _out, _requestWrapper, _settings - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionWe have to do this here because processForm() isn't called unless the nonces are goodgetForm()intThis must be output in the jsp since *lt;meta> must be in the <head>For single stat page; stat = "bw.combined" treated speciallyprotected voidThis was a HelperBase but now it's a FormHandlervoidvoidsetContextId(String contextId) set the defaults after we have a contextvoidvoidvoidvoidsetHideLegend(String foo) voidsetPeriodCount(String str) voidsetPersistent(String foo) voidsetRefreshDelay(String str) voidvoidFor single stat pagevoidvoidvoidMethods inherited from class net.i2p.router.web.FormHandler
_t, _t, _t, _x, addFormError, addFormErrorNoEscape, addFormNotice, addFormNoticeNoEscape, getErrors, getJettyString, getNewNonce, getNotices, isAdvanced, setAction, setNonce, setRequestWrapper, setSettings, storeMethod, storeNonces, storeWriter 
- 
Constructor Details
- 
GraphHelper
public GraphHelper() 
 - 
 - 
Method Details
- 
setContextId
set the defaults after we have a context- Overrides:
 setContextIdin classFormHandler- Parameters:
 contextId- beginning few characters of the routerHash, or null to pick the first one we come across.
 - 
getRefreshMeta
This must be output in the jsp since *lt;meta> must be in the <head>- Since:
 - 0.8.7
 
 - 
getRefresh
public int getRefresh()- Since:
 - 0.9.63
 
 - 
setPeriodCount
 - 
setE
- Since:
 - 0.9
 
 - 
setC
- Since:
 - 0.9 shorter parameter
 
 - 
setShowEvents
 - 
setHeight
 - 
setH
- Since:
 - 0.9 shorter parameter
 
 - 
setWidth
 - 
setW
- Since:
 - 0.9 shorter parameter
 
 - 
setRefreshDelay
 - 
setPersistent
- Since:
 - 0.8.7
 
 - 
setHideLegend
- Since:
 - 0.9.32
 
 - 
setUtc
- Since:
 - 0.9.49
 
 - 
setStat
For single stat page- Since:
 - 0.9
 
 - 
getImages
 - 
getSingleStat
For single stat page; stat = "bw.combined" treated specially- Since:
 - 0.9
 
 - 
getForm
 - 
getAllMessages
We have to do this here because processForm() isn't called unless the nonces are good- Overrides:
 getAllMessagesin classFormHandler- Since:
 - 0.8.7
 
 - 
processForm
protected void processForm()This was a HelperBase but now it's a FormHandler- Specified by:
 processFormin classFormHandler- Since:
 - 0.8.2
 
 
 -