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

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

public class StringLayout
extends AbstractStringLayout

A layout manager that lays strings.

Version:
1.0 23/06/98
Author:
© 1998 DIRAT Laurent
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayLayout
displayToLay
 
Constructor Summary
StringLayout()
           
 
Method Summary
 boolean selectLeftDisplay()
          Returns true if during the selection, the display which is located to the left of the display that lays the instance, must be selected too.
 boolean selectRightDisplay()
          Returns true if during the selection, the display which is located to the right of the display that lays the instance, must be selected too.
 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.AbstractStringLayout
computeAttributes, layoutContainer, rebuildDisplay, updateLevel
 
Methods inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayLayout
addLayoutComponent, addLayoutComponent, deselectDisplay, getLayoutAlignmentX, getLayoutAlignmentY, initDisplay, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, selectDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringLayout

public StringLayout()
Method Detail

selectLeftDisplay

public boolean selectLeftDisplay()
Returns true if during the selection, the display which is located to the left of the display that lays the instance, must be selected too. false otherwise.

Overrides:
selectLeftDisplay in class DisplayLayout

selectRightDisplay

public boolean selectRightDisplay()
Returns true if during the selection, the display which is located to the right of the display that lays the instance, must be selected too. false otherwise.

Overrides:
selectRightDisplay 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.


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