Package muntjac :: Package addon :: Package invient :: Package demo :: Module invient_demo_win :: Class InvientChartsDemoWin
[hide private]
[frames] | no frames]

Class InvientChartsDemoWin

source code

                                object --+                            
                                         |                            
                       util.IEventListener --+                        
                                             |                        
                 terminal.paintable.IPaintable --+                    
                                                 |                    
                                    object --+   |                    
                                             |   |                    
        terminal.variable_owner.IVariableOwner --+                    
                                                 |                    
                                    object --+   |                    
                                             |   |                    
                   terminal.sizeable.ISizeable --+                    
                                                 |                    
                           ui.component.IComponent --+                
                                                     |                
                                        object --+   |                
                                                 |   |                
      event.method_event_source.IMethodEventSource --+                
                                                     |                
               ui.abstract_component.AbstractComponent --+            
                                                         |            
                                object --+               |            
                                         |               |            
                       util.IEventListener --+           |            
                                             |           |            
                 terminal.paintable.IPaintable --+       |            
                                                 |       |            
                                    object --+   |       |            
                                             |   |       |            
        terminal.variable_owner.IVariableOwner --+       |            
                                                 |       |            
                                    object --+   |       |            
                                             |   |       |            
                   terminal.sizeable.ISizeable --+       |            
                                                 |       |            
                           ui.component.IComponent --+   |            
                                                     |   |            
            ui.component_container.IComponentContainer --+            
                                                         |            
ui.abstract_component_container.AbstractComponentContainer --+        
                                                             |        
                                                object --+   |        
                                                         |   |        
                           terminal.scrollable.IScrollable --+        
                                                             |        
                                                object --+   |        
                                                         |   |        
           ui.component_container.IComponentAttachListener --+        
                                                             |        
                                                object --+   |        
                                                         |   |        
           ui.component_container.IComponentDetachListener --+        
                                                             |        
                                            object --+       |        
                                                     |       |        
                               event.action.IContainer --+   |        
                                                         |   |        
                                    event.action.INotifier --+        
                                                             |        
                                    object --+               |        
                                             |               |        
                           util.IEventListener --+           |        
                                                 |           |        
                     terminal.paintable.IPaintable --+       |        
                                                     |       |        
                                        object --+   |       |        
                                                 |   |       |        
            terminal.variable_owner.IVariableOwner --+       |        
                                                     |       |        
                                        object --+   |       |        
                                                 |   |       |        
                       terminal.sizeable.ISizeable --+       |        
                                                     |       |        
                               ui.component.IComponent --+   |        
                                                         |   |        
                                   ui.component.IFocusable --+        
                                                             |        
                                                ui.panel.Panel --+    
                                                                 |    
                                                    object --+   |    
                                                             |   |    
                              terminal.uri_handler.IUriHandler --+    
                                                                 |    
                                                    object --+   |    
                                                             |   |    
                  terminal.parameter_handler.IParameterHandler --+    
                                                                 |    
                                                    object --+   |    
                                                             |   |    
                             event.field_events.IFocusNotifier --+    
                                                                 |    
                                                    object --+   |    
                                                             |   |    
                              event.field_events.IBlurNotifier --+    
                                                                 |    
                                                  ui.window.Window --+
                                                                     |
                                                                    InvientChartsDemoWin

Instance Methods [hide private]
 
__init__(self)
Creates a new unnamed window with the given content and title.
source code
 
attach(self)
Notifies the component that it is connected to an application.
source code
 
isAppRunningOnGAE(self) source code
 
getInvientChartsDemoApp(self) source code
 
showChart(self, demoSeriesTypeName, chartNameString) source code
 
showMasterDetail(self) source code
 
getDetailChart(self, masterChart) source code
 
getMasterChart(self) source code
 
showLine(self) source code
 
showClickToAddPoint(self) source code
 
showLineWithDataLabels(self) source code
 
showBarStacked(self) source code
 
showBarBasic(self) source code
 
showBarWithNegStack(self) source code
 
showColumnBasic(self) source code
 
showColumnWithNegValues(self) source code
 
showColumnStacked(self) source code
 
showColumnStackedAndGrouped(self) source code
 
showColumnStackedPercent(self) source code
 
showColumnWithRotatedLabels(self) source code
 
showAreaWithNegValues(self) source code
 
showAreaInvertedAxes(self) source code
 
showAreaWithMissingPoints(self) source code
 
showAreaStacked(self) source code
 
showAreaPercent(self) source code
 
showAreaBasic(self) source code
 
addNullPoints(self, points, series, howManyNullPoints) source code
 
showAreaSpline(self) source code
 
showPieWithLegend(self) source code
 
showDonut(self) source code
 
getPointWithColor(self, series, name, y, color) source code
 
showPie(self) source code
 
showScatter(self) source code
 
showCombinationScatterWithRegressionLine(self) source code
 
showSpline(self) source code
 
showSplineWithSymbol(self) source code
 
showSplineUpdatingEachSecond(self) source code
 
stopSplineSelfUpdateThread(self) source code
 
showSplineWithPlotBands(self) source code
 
showCombination(self) source code
 
showCombinationMultipleAxes(self) source code
 
showTimeSeriesZoomable(self) source code
 
addChart(self, chart, isPrepend=False, isRegisterEvents=True, isRegisterSVGEvent=True, isSetHeight=True) source code
 
registerSVGAndPrintEvent(self, chart) source code
 
registerEvents(self, chart) source code
 
getDateTimePoints(self, series, values) source code
 
getChartName(self, chartNameString) source code
 
getDemoSeriesType(self, demoSeriesTypeName) source code
 
createChartsTree(self) source code
 
showChartInstancesForSeriesType(self, demoSeriesTypeName) source code
 
getContainer(self) source code
 
addChartNamesForSeriesType(self, container, parentId, demoSeriesType) source code
 
getDemoCharts(self, demoSeriesType) source code
 
logEventInfo(self, *args) source code
 
logStringEventInfo(self, eventName, seriesName, category, x, y, mouseX, mouseY) source code
 
emptyEventLog(self) source code
 
getScatterFemalePoints(self, series) source code
 
getScatterMalePoints(self, series) source code
 
getDateTimeSeriesPoints(self, series) source code
 
getMasterDetailData(self, series) source code

Inherited from ui.window.Window: addCallback, addComponent, addListener, addNotification, addParameterHandler, addURIHandler, addWindow, attachWindow, bringToFront, center, changeVariables, close, executeJavaScript, fireClose, fireResize, focus, getApplication, getBorder, getChildWindows, getName, getParent, getPositionX, getPositionY, getTerminal, getTheme, getURL, getWindow, handleParameters, handleURI, isClosable, isDraggable, isModal, isResizable, isResizeLazy, open, paintContent, removeCallback, removeCloseShortcut, removeListener, removeParameterHandler, removeURIHandler, removeWindow, scrollIntoView, setApplication, setBorder, setClosable, setCloseShortcut, setDraggable, setFocusedComponent, setModal, setName, setPositionX, setPositionY, setResizable, setResizeLazy, setTerminal, setTheme, showNotification

Inherited from ui.panel.Panel: addAction, addActionHandler, componentAttachedToContainer, componentDetachedFromContainer, createDefaultContent, detach, fireClick, getActionManager, getComponentIterator, getContent, getLayout, getScrollLeft, getScrollOffsetX, getScrollOffsetY, getScrollTop, getTabIndex, isScrollable, removeAction, removeActionHandler, removeAllActionHandlers, removeAllComponents, removeComponent, replaceComponent, requestRepaintAll, setCaption, setContent, setLayout, setScrollLeft, setScrollOffsetX, setScrollOffsetY, setScrollTop, setScrollable, setTabIndex

Inherited from ui.abstract_component_container.AbstractComponentContainer: fireComponentAttachEvent, fireComponentDetachEvent, getInvalidSizedChildren, moveComponentsFrom, repaintChangedChildTrees, repaintChildTrees, setEnabled, setHeight, setWidth

Inherited from ui.abstract_component.AbstractComponent: __getstate__, __setstate__, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, fireRequestRepaintEvent, getCSSHeight, getCSSWidth, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getStyle, getStyleName, getWidth, getWidthUnits, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, parseStringSize, registerCallback, registerListener, removeStyleName, requestRepaint, requestRepaintRequests, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidthUnits, withdrawCallback, withdrawListener

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
getUpdatedDate(cls, dt, seconds) source code
 
getPointStartDate(cls, year, month, day) source code
 
getDateZeroTime(cls, year, month, day) source code
 
getPoints(cls, series, values) source code
 
getFormattedTimestamp(cls, dt) source code
 
getCurrFormattedTimestamp(cls) source code
Class Variables [hide private]
  _TREE_ITEM_CAPTION_PROP_ID = 'ChartType'
  _SEPARATOR = '|'

Inherited from ui.window.Window: BORDER_DEFAULT, BORDER_MINIMAL, BORDER_NONE, CLIENT_WIDGET

Inherited from ui.panel.Panel: STYLE_LIGHT

Inherited from ui.panel.Panel (private): _CLICK_EVENT

Inherited from ui.abstract_component.AbstractComponent: SIZE_PATTERN

Inherited from terminal.sizeable.ISizeable: SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS, UNIT_SYMBOLS

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Creates a new unnamed window with the given content and title.

Parameters:
  • caption - the title of the window.
  • content - the contents of the window
Overrides: object.__init__
(inherited documentation)

attach(self)

source code 

Notifies the component that it is connected to an application.

Overrides: ui.component.IComponent.attach
(inherited documentation)