Package muntjac :: Package ui :: Module layout :: Class ILayout
[hide private]
[frames] | no frames]

Class ILayout

source code

                        object --+                
                                 |                
               util.IEventListener --+            
                                     |            
         terminal.paintable.IPaintable --+        
                                         |        
                            object --+   |        
                                     |   |        
terminal.variable_owner.IVariableOwner --+        
                                         |        
                            object --+   |        
                                     |   |        
           terminal.sizeable.ISizeable --+        
                                         |        
                      component.IComponent --+    
                                             |    
       component_container.IComponentContainer --+
                                                 |
                                                ILayout
Known Subclasses:

Extension to the IComponentContainer interface which adds the layouting control to the elements in the container. This is required by the various layout components to enable them to place other components in specific locations in the UI.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Instance Methods [hide private]
 
setMargin(self, *args)
Enable layout margins.
source code

Inherited from component_container.IComponentContainer: addCallback, addComponent, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeCallback, removeComponent, removeListener, replaceComponent, requestRepaintAll

Inherited from component.IComponent: addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible

Inherited from terminal.paintable.IPaintable: getDebugId, paint, requestRepaint, requestRepaintRequests, setDebugId

Inherited from terminal.variable_owner.IVariableOwner: changeVariables, isImmediate

Inherited from terminal.sizeable.ISizeable: getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidthUnits

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

Class Variables [hide private]

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]

setMargin(self, *args)

source code 

Enable layout margins. Affects all four sides of the layout. This will tell the client-side implementation to leave extra space around the layout. The client-side implementation decides the actual amount, and it can vary between themes.

Alternatively, enable specific layout margins. This will tell the client-side implementation to leave extra space around the layout in specified edges, clockwise from top (top, right, bottom, left). The client-side implementation decides the actual amount, and it can vary between themes.

Parameters:
  • args - tuple of the form
    • (enabled)
    • (top, right, bottom, left)