Logo Search packages:      
Sourcecode: wims version File versions  Download package

fr::ove::openmath::jome::ctrlview::bidim::Display Class Reference

Inheritance diagram for fr::ove::openmath::jome::ctrlview::bidim::Display:

fr::ove::openmath::jome::ctrlview::bidim::Displayable fr::ove::openmath::jome::ctrlview::bidim::Colorizable fr::ove::openmath::jome::behaviour::Selectable fr::ove::openmath::jome::behaviour::Iconifiable fr::ove::openmath::jome::model::events::ModelListenerController fr::ove::openmath::jome::ctrlview::bidim::Localisable fr::ove::openmath::jome::ctrlview::bidim::Sizable fr::ove::openmath::jome::model::events::ModelListener fr::ove::openmath::jome::ctrlview::bidim::BidimDisplay fr::ove::openmath::jome::ctrlview::bidim::AbstractStringDisplay fr::ove::openmath::jome::ctrlview::bidim::FormulaDisplay fr::ove::openmath::jome::ctrlview::bidim::SymbolDisplay fr::ove::openmath::jome::ctrlview::bidim::StringDisplay fr::ove::openmath::jome::ctrlview::bidim::SubstitutionDisplay fr::ove::openmath::jome::ctrlview::bidim::IconDisplay

List of all members.

Detailed Description

The display elements of the formula.

1999 DIRAT Laurent
2.0 27/06/1999

Definition at line 48 of file Display.java.

Public Member Functions

void add (Display display)
void addControlListener (ControlListener controlListener)
void addSelectionEventListener (SelectionEventListener selectionEventListener)
void adjustRank ()
Display buildDisplay (int indexFts)
void buildDisplay ()
void computeAncestorsAttributes ()
void computeChildrenAttributes ()
int computeInsertionPosition (int mouseX)
void consumeModelEvent (ModelEvent modelEvent)
void decLevel ()
void deselect ()
 Display (GraphicContext graphicContext)
void dontDrawBounds ()
void drawBounds ()
void fireControlEvent (ControlEvent controlEvent)
void fireSelectionEvent (SelectionEvent selectionEvent)
int getAscent ()
Color getBackgroundColor ()
boolean getComputeAttributes ()
int getDescent ()
DisplayAllocator getDisplayAllocator ()
Color getForegroundColor ()
GraphicContext getGraphicContext ()
int getHeight ()
String getIconName ()
int getLevel ()
ControlListener getListener ()
Point getLocation ()
Dimension getPreferredSize ()
int getRank ()
Color getSelectionColor ()
int getShiftX ()
int getShiftY ()
Dimension getSize ()
boolean getUpdateLevel ()
int getWidth ()
int getX ()
int getY ()
boolean gotSelectedElements ()
void iconify ()
void incLevel ()
boolean isDisplay (FormulaTreeStructure fts)
boolean isIcon ()
boolean isIconifiable ()
boolean isSelected ()
boolean isSymbolOperatorDisplay ()
void moveSelectedDisplays (int mouseX)
void paint (Graphics g)
void remove (int index)
void removeAll ()
void removeAllControlListener ()
void removeAllDisplays ()
void removeControlListener (ControlListener controlListener)
void removeSelectionEventListener (SelectionEventListener selectionEventListener)
void scaleDisplay ()
void select ()
void setAscent (int ascent)
void setAttributes (int ascent, int descent, int shiftX, int shiftY)
void setBackgroundColor (Color backgroundColor)
void setComputeAttributes (boolean computeAttributes)
void setDescent (int descent)
void setDisplayAllocator (DisplayAllocator displayAllocator)
void setFont (Font font)
void setForegroundColor (Color foregroundColor)
void setGraphicContext (GraphicContext graphicContext)
void setHeight (int height)
void setIconName (String iconName)
void setIsIconifiable (boolean isIconifiable)
void setIsSymbolOperatorDisplay (boolean isSymbolOperatorDisplay)
void setLevel (int level)
void setLocation (Point location)
void setLocation (int x, int y)
void setNotSelected ()
void setRank (int rank)
void setSelected ()
void setSelectionColor (Color selectionColor)
void setShiftX (int shiftX)
void setShiftY (int shiftY)
void setSize (Dimension size)
void setSize (int width, int height)
void setUpdateLevel (boolean updateLevel)
void setWidth (int width)
void setX (int x)
void setY (int y)
void substitute (String name)
void ToString ()
void uniconify ()
void uniconifyAll ()
void updateAncestorsLevel ()
void updateChildrenLevel ()
boolean weDrawBounds ()
void whoAmI ()

Protected Member Functions

boolean doRemoveFromListListeners ()
void removeFromListListeners (boolean doRemoveFromListListeners)
void setDoRemoveFromListListeners (boolean doRemoveFromListListeners)
void setTheFont (Font font)

Protected Attributes

boolean dragNDrop
boolean isSelected = false

Private Member Functions

void removeFromListListeners ()

Private Attributes

int ascent
boolean computeAttributes = true
int descent
boolean doRemoveFromListListeners = true
GraphicContext graphicContext
boolean isSymbolOperatorDisplay = false
int level = 0
ControlListener listener
int rank = 0
int shiftX = 0
int shiftY = 0
boolean updateLevel = true
boolean weDrawBounds = false

Static Private Attributes

static DisplayAllocator displayAllocator = null
static SelectionEventListener selectionManager = null

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index