Package gnue :: Package appserver :: Package generator :: Module layout :: Class Tabular
[show private | hide private]

Class Tabular

Manager --+
          |
         Tabular


Method Summary
  _arrangePage(self, page, properties)
This function arranges all properties on the given page.
  _createVisualPages(self)
This function transform the virtual page into a visual page.
    Inherited from Manager
  __init__(self, classdef, maxWidth, maxHeight)
  arrangeItems(self)
This function creates the visual pages and arranges all properties on them.
  arrangeWidgets(self, item, left, maxSpace)
This function arranges all widgets of a property by lining them up starting at the given position.
  getSpecialLocation(self, page, item)
This function returns the location-dictionary for a special property on a given page.
  _addSpecials(self)
This function adds all special properties at the bottom of every visual page by creating a location record per property/page.
  _prepareSpecials(self)
This function creates a sequence of special properties.

Class Variable Summary
int _MIN_HEIGHT = 1                                                                     

Method Details

_arrangePage(self, page, properties)

This function arranges all properties on the given page. All properties are lined up in a grid.
Parameters:
page - the name of the visual page
properties - a sequence of properties to arrange in the page
Returns:
outermost position on the right side (max. page width)

_createVisualPages(self)

This function transform the virtual page into a visual page. Visual pages use all available vertical space leaving room for a title row and the special properties at the bottom.

Class Variable Details

_MIN_HEIGHT

Type:
int
Value:
1                                                                     


GNUe Home

Private API

Developer's Corner