Package muntjac :: Package ui :: Module ordered_layout :: Class OrderedLayout
[hide private]
[frames] | no frames]

Class OrderedLayout

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 --+    
                                                              |    
                                                 object --+   |    
                                                          |   |    
                                   layout.IAlignmentHandler --+    
                                                              |    
                                                 object --+   |    
                                                          |   |    
                                     layout.ISpacingHandler --+    
                                                              |    
                                                 object --+   |    
                                                          |   |    
                   event.layout_events.ILayoutClickNotifier --+    
                                                              |    
                  abstract_ordered_layout.AbstractOrderedLayout --+
                                                                  |
                                                                 OrderedLayout
Known Subclasses:

Ordered layout.

OrderedLayout is a component container, which shows the subcomponents in the order of their addition in specified orientation.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Deprecated: Replaced by VerticalLayout/HorizontalLayout. For type checking please not that VerticalLayout/HorizontalLayout do not extend OrderedLayout but AbstractOrderedLayout (which also OrderedLayout extends).

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

Inherited from abstract_ordered_layout.AbstractOrderedLayout: addCallback, addComponent, addComponentAsFirst, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, removeCallback, removeComponent, removeListener, replaceComponent, setComponentAlignment, setExpandRatio, setSpacing

Inherited from abstract_layout.AbstractLayout: changeVariables, fireClick, 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_ordered_layout.AbstractOrderedLayout: ALIGNMENT_DEFAULT

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

Inherited from layout.IAlignmentHandler: ALIGNMENT_BOTTOM, ALIGNMENT_HORIZONTAL_CENTER, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, ALIGNMENT_TOP, ALIGNMENT_VERTICAL_CENTER

Instance Variables [hide private]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, orientation=None)
(Constructor)

source code 

Creates a new ordered layout. The order of the layout defaults to ORIENTATION_VERTICAL.

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

Deprecated: Use VerticalLayout/HorizontalLayout instead.

getOrientation(self)

source code 

Gets the orientation of the container.

Returns:
the Value of property orientation.

setOrientation(self, orientation, needsRepaint=True)

source code 

Sets the orientation of this OrderedLayout. This method should only be used before initial paint.

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

Deprecated: Use VerticalLayout/HorizontalLayout or define orientation in constructor instead

paintContent(self, target)

source code 

Paints the content of this component.

Parameters:
  • target - the Paint Event.
Raises:
Overrides: abstract_component.AbstractComponent.paintContent
(inherited documentation)