fr.ove.openmath.jome.ctrlview.bidim
Class OneFormulaLayout

java.lang.Object
  extended byfr.ove.openmath.jome.ctrlview.bidim.DisplayLayout
      extended byfr.ove.openmath.jome.ctrlview.bidim.OneFormulaLayout
All Implemented Interfaces:
java.lang.Cloneable, java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable

public class OneFormulaLayout
extends DisplayLayout

A layout manager that lays the display of a formula.

Version:
2.0 22/07/1999
Author:
© 1999 DIRAT Laurent
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayLayout
displayToLay
 
Constructor Summary
OneFormulaLayout()
           
 
Method Summary
 java.awt.Dimension computeAttributes()
          Computes the size of the display according to its children size (if any), and its different attributes.
 void deselectDisplay()
          Deselects the display.
 void layoutContainer(java.awt.Container parent)
           
 void rebuildDisplay()
          The display needs to be rebuilt.
 void selectDisplay()
          Selects the display (and its children if any)
 void validateDeselection(Display display)
          Checks the validity of the deselection.
 void validateSelection()
          Checks the validity of the selection.
 
Methods inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayLayout
addLayoutComponent, addLayoutComponent, getLayoutAlignmentX, getLayoutAlignmentY, initDisplay, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, selectLeftDisplay, selectRightDisplay, updateLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneFormulaLayout

public OneFormulaLayout()
Method Detail

computeAttributes

public java.awt.Dimension computeAttributes()
Computes the size of the display according to its children size (if any), and its different attributes.

Specified by:
computeAttributes in class DisplayLayout
Returns:
the size of the display.

selectDisplay

public void selectDisplay()
Selects the display (and its children if any)

Overrides:
selectDisplay in class DisplayLayout

deselectDisplay

public void deselectDisplay()
Deselects the display.

Overrides:
deselectDisplay in class DisplayLayout

validateSelection

public void validateSelection()
Checks the validity of the selection.

Specified by:
validateSelection in class DisplayLayout

validateDeselection

public void validateDeselection(Display display)
Checks the validity of the deselection.

Specified by:
validateDeselection in class DisplayLayout
Parameters:
display - the display to deselect.

rebuildDisplay

public void rebuildDisplay()
The display needs to be rebuilt. We do this.

Specified by:
rebuildDisplay in class DisplayLayout

layoutContainer

public void layoutContainer(java.awt.Container parent)


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.