Package muntjac :: Package addon :: Package invient :: Package demo :: Module hello_plot :: Class PlotWindow
[hide private]
[frames] | no frames]

Class PlotWindow

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 --+
                                                                     |
                                                                    PlotWindow

Instance Methods [hide private]
 
__init__(self)
Creates a new unnamed window with the given content and title.
source code
 
showPlot(self) source code
 
setData(self, series)
Sets the data object, that can be used for any application specific data.
source code
 
addChart(self, chart, isPrepend=False, isRegisterEvents=True, isRegisterSVGEvent=True, isSetHeight=True) 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, attach, 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, 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]
 
getPoints(cls, series, values) source code
Class Variables [hide private]
  _TREE_ITEM_CAPTION_PROP_ID = 'PlotChartWindow'
  _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)

setData(self, series)

source code 

Sets the data object, that can be used for any application specific data. The component does not use or modify this data.

Parameters:
  • data - the Application specific data.
Overrides: ui.abstract_component.AbstractComponent.setData
(inherited documentation)