Package muntjac :: Package ui :: Module split_panel :: Class SplitPanel
[hide private]
[frames] | no frames]

Class SplitPanel

source code

                             object --+                            
                                      |                            
                    util.IEventListener --+                        
                                          |                        
              terminal.paintable.IPaintable --+                    
                                              |                    
                                 object --+   |                    
                                          |   |                    
     terminal.variable_owner.IVariableOwner --+                    
                                              |                    
                                 object --+   |                    
                                          |   |                    
                terminal.sizeable.ISizeable --+                    
                                              |                    
                           component.IComponent --+                
                                                  |                
                                     object --+   |                
                                              |   |                
   event.method_event_source.IMethodEventSource --+                
                                                  |                
               abstract_component.AbstractComponent --+            
                                                      |            
                             object --+               |            
                                      |               |            
                    util.IEventListener --+           |            
                                          |           |            
              terminal.paintable.IPaintable --+       |            
                                              |       |            
                                 object --+   |       |            
                                          |   |       |            
     terminal.variable_owner.IVariableOwner --+       |            
                                              |       |            
                                 object --+   |       |            
                                          |   |       |            
                terminal.sizeable.ISizeable --+       |            
                                              |       |            
                           component.IComponent --+   |            
                                                  |   |            
            component_container.IComponentContainer --+            
                                                      |            
abstract_component_container.AbstractComponentContainer --+        
                                                          |        
                             object --+                   |        
                                      |                   |        
                    util.IEventListener --+               |        
                                          |               |        
              terminal.paintable.IPaintable --+           |        
                                              |           |        
                                 object --+   |           |        
                                          |   |           |        
     terminal.variable_owner.IVariableOwner --+           |        
                                              |           |        
                                 object --+   |           |        
                                          |   |           |        
                terminal.sizeable.ISizeable --+           |        
                                              |           |        
                           component.IComponent --+       |        
                                                  |       |        
            component_container.IComponentContainer --+   |        
                                                      |   |        
                                         layout.ILayout --+        
                                                          |        
                                             object --+   |        
                                                      |   |        
                                  layout.IMarginHandler --+        
                                                          |        
                             abstract_layout.AbstractLayout --+    
                                                              |    
                        abstract_split_panel.AbstractSplitPanel --+
                                                                  |
                                                                 SplitPanel

SplitPanel.

SplitPanel is a component container, that can contain two components (possibly containers) which are split by divider element.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Deprecated: Use HorizontalSplitPanel or VerticalSplitPanel instead.

Instance Methods [hide private]
 
__init__(self, orientation=None)
Creates a new split panel.
source code
 
paintContent(self, target)
Paints the content of this component.
source code
 
getOrientation(self)
Gets the orientation of the split panel.
source code
 
setOrientation(self, orientation)
Sets the orientation of the split panel.
source code

Inherited from abstract_split_panel.AbstractSplitPanel: addCallback, addComponent, addListener, changeVariables, fireClick, getComponentCount, getComponentIterator, getFirstComponent, getSecondComponent, getSplitPosition, getSplitPositionUnit, isLocked, removeCallback, removeComponent, removeListener, replaceComponent, setFirstComponent, setLocked, setSecondComponent, setSplitPosition

Inherited from abstract_layout.AbstractLayout: getMargin, setMargin

Inherited from abstract_component_container.AbstractComponentContainer: attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, getInvalidSizedChildren, moveComponentsFrom, removeAllComponents, repaintChangedChildTrees, repaintChildTrees, requestRepaintAll, setEnabled, setHeight, setWidth

Inherited from abstract_component.AbstractComponent: __getstate__, __setstate__, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, fireRequestRepaintEvent, focus, getApplication, getCSSHeight, getCSSWidth, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, parseStringSize, registerCallback, registerListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, 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 Variables [hide private]
  CLIENT_WIDGET = None
hash(x)
  ORIENTATION_VERTICAL = 0
  ORIENTATION_HORIZONTAL = 1

Inherited from abstract_layout.AbstractLayout (private): _CLICK_EVENT

Inherited from 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, orientation=None)
(Constructor)

source code 

Creates a new split panel. The orientation of the panels is ORIENTATION_VERTICAL by default.

Parameters:
  • orientation - the orientation of the layout.
Overrides: object.__init__

paintContent(self, target)

source code 

Paints the content of this component.

Parameters:
  • target - the Paint Event.
Raises:
Overrides: abstract_component.AbstractComponent.paintContent

getOrientation(self)

source code 

Gets the orientation of the split panel.

Returns:
the Value of property orientation.

setOrientation(self, orientation)

source code 

Sets the orientation of the split panel.

Parameters:
  • orientation - the New value of property orientation.