lib Library API Documentation

ElementCreationStrategy Class Reference

An object of this type needs to be known by the SequenceElement. More...

#include <creationstrategy.h>

Inheritance diagram for ElementCreationStrategy:

OrdinaryCreationStrategy List of all members.

Public Member Functions

virtual BasicElementcreateElement (QString type)=0
virtual TextElementcreateTextElement (const QChar &ch, bool symbol=false)=0
virtual MatrixElementcreateMatrixElement (uint rows, uint columns)=0
virtual EmptyElementcreateEmptyElement ()=0
virtual NameSequencecreateNameSequence ()=0
virtual BracketElementcreateBracketElement (SymbolType lhs, SymbolType rhs)=0
virtual OverlineElementcreateOverlineElement ()=0
virtual UnderlineElementcreateUnderlineElement ()=0
virtual MultilineElementcreateMultilineElement ()=0
virtual SpaceElementcreateSpaceElement (SpaceWidth width)=0
virtual FractionElementcreateFractionElement ()=0
virtual RootElementcreateRootElement ()=0
virtual SymbolElementcreateSymbolElement (SymbolType type)=0
virtual IndexElementcreateIndexElement ()=0

Detailed Description

An object of this type needs to be known by the SequenceElement.

It decides what elements can be constructed.

Definition at line 50 of file creationstrategy.h.


Member Function Documentation

virtual TextElement* ElementCreationStrategy::createTextElement const QChar ch,
bool  symbol = false
[pure virtual]
 

there must always be a TextElement, so this can never return 0

Implemented in OrdinaryCreationStrategy.

Referenced by SequenceElement::buildCommand().

virtual MatrixElement* ElementCreationStrategy::createMatrixElement uint  rows,
uint  columns
[pure virtual]
 

when this gets called the user has seen the matrix dialog and expects a matrix!

Implemented in OrdinaryCreationStrategy.

Referenced by SequenceElement::buildCommand().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Sep 28 04:04:04 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003