Package AccessEngine :: Package AEConstants :: Module Semantic
[hide private]
[frames] | no frames]

Module Semantic

source code

Semantic tag constants.


Author: Peter Parente

Organization: IBM Corporation

Copyright: Copyright (c) 2005, 2007 IBM Corporation

License:

The BSD License

All rights reserved. This program and the accompanying materials are made available under the terms of the BSD license which accompanies this distribution, and is available at http://www.opensource.org/licenses/bsd-license.php

Variables [hide private]
  STYLE_GROUP_CONTENT = 0
  STYLE_GROUP_PROPERTIES = 1
  STYLE_GROUP_ECHO = 2
  STYLE_GROUP_CONTEXT = 3
list STYLE_GROUP_ALL = [STYLE_GROUP_CONTENT, STYLE_GROUP_PROPERTIES...
List of all style group constants
  SEM_CHAR = 1
  SEM_WORD = 2
  SEM_ITEM = 3
  SEM_NAME = 5
  SEM_LABEL = 6
  SEM_DESC = 7
  SEM_VALUE = 8
  SEM_LINK = 9
  SEM_ROLE = 30
  SEM_FONT = 31
  SEM_TEXT_ATTR = 32
  SEM_COLOR = 33
  SEM_COUNT = 35
  SEM_INDEX = 36
  SEM_LEVEL = 37
  SEM_STATE = 38
  SEM_STATUS = 39
  SEM_HOTKEY = 40
  SEM_EXTENTS = 41
  SEM_INFO = 60
  SEM_ERROR = 61
  SEM_CONFIRM = 62
  SEM_APP = 80
  SEM_WINDOW = 81
  SEM_SECTION = 82
dictionary SEMANTIC_STYLES = {SEM_NAME: STYLE_GROUP_CONTENT, SEM_CHAR: ST...
Mapping from semantic to its default group
dictionary SEMANTIC_NAMES = dict([(value, name.lower() [4:]) for name, va...
Mapping from semantic constant to its human readable name, currently the constant variable name
Variables Details [hide private]

STYLE_GROUP_ALL

List of all style group constants
Type:
list
Value:
[STYLE_GROUP_CONTENT, STYLE_GROUP_PROPERTIES, STYLE_GROUP_ECHO, STYLE_\
GROUP_CONTEXT]

SEMANTIC_STYLES

Mapping from semantic to its default group
Type:
dictionary
Value:
{SEM_NAME: STYLE_GROUP_CONTENT, SEM_CHAR: STYLE_GROUP_CONTENT, SEM_WOR\
D: STYLE_GROUP_CONTENT, SEM_ITEM: STYLE_GROUP_CONTENT, SEM_LABEL: STYL\
E_GROUP_CONTENT, SEM_DESC: STYLE_GROUP_CONTENT, SEM_VALUE: STYLE_GROUP\
_CONTENT, SEM_ROLE: STYLE_GROUP_PROPERTIES, SEM_FONT: STYLE_GROUP_PROP\
ERTIES, SEM_TEXT_ATTR: STYLE_GROUP_PROPERTIES, SEM_COLOR: STYLE_GROUP_\
PROPERTIES, SEM_STATE: STYLE_GROUP_PROPERTIES, SEM_COUNT: STYLE_GROUP_\
PROPERTIES, SEM_INDEX: STYLE_GROUP_PROPERTIES, SEM_LEVEL: STYLE_GROUP_\
PROPERTIES, SEM_STATE: STYLE_GROUP_PROPERTIES, SEM_STATUS: STYLE_GROUP\
...

SEMANTIC_NAMES

Mapping from semantic constant to its human readable name, currently the constant variable name
Type:
dictionary
Value:
dict([(value, name.lower() [4:]) for name, value in locals().items() i\
f name.startswith('SEM_')])