Package muntjac :: Package terminal :: Package gwt :: Package server :: Module component_size_validator :: Class ComponentSizeValidator
[hide private]
[frames] | no frames]

Class ComponentSizeValidator

source code

object --+
         |
        ComponentSizeValidator

Instance Methods [hide private]

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

Class Methods [hide private]
 
validateComponentRelativeSizes(cls, component, errors, parent)
Recursively checks given component and its subtree for invalid layout setups.
source code
 
printServerError(cls, msg, attributes, widthError, errorStream) source code
 
checkHeights(cls, component) source code
 
checkWidths(cls, component) source code
 
getHeightAttributes(cls, component) source code
 
getWidthAttributes(cls, component) source code
 
getWidthString(cls, component) source code
 
getHeightString(cls, component) source code
 
showComponent(cls, component, attribute, err, indent, widthError) source code
 
hasNonRelativeHeightComponent(cls, ol) source code
 
parentCanDefineHeight(cls, component) source code
 
hasRelativeHeight(cls, component) source code
 
hasNonRelativeWidthComponent(cls, arg) source code
 
hasRelativeWidth(cls, paintable) source code
 
parentCanDefineWidth(cls, component) source code
 
setCreationLocation(cls, obj) source code
 
setWidthLocation(cls, obj) source code
 
setHeightLocation(cls, obj) source code
 
setLocation(cls, mapp, obj) source code
Class Variables [hide private]
  _LAYERS_SHOWN = 4
  _creationLocations = {}
  _widthLocations = {}
  _heightLocations = {}
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

validateComponentRelativeSizes(cls, component, errors, parent)
Class Method

source code 

Recursively checks given component and its subtree for invalid layout setups. Prints errors to std err stream.

Parameters:
  • component - component to check
Returns:
set of first level errors found