fr.ove.openmath.jome.behaviour
Interface Iconifiable

All Known Implementing Classes:
Display, FormulaTreeStructure

public interface Iconifiable

Interface that must implement all objects that want to be iconified and then uniconified.

Version:
2.0 29/06/1999
Author:
© 1999 DIRAT Laurent

Method Summary
 java.lang.String getIconName()
          Returns the name of the icon associated to the instance.
 void iconify()
          Iconifies the selection of the instance.
 boolean isIcon()
           
 boolean isIconifiable()
          Returns true if the instance is iconifiable.
 void setIconName(java.lang.String iconName)
          Associates an icon name to the instance.
 void setIsIconifiable(boolean isIconifiable)
          Sets the istance as iconifiable.
 void uniconify()
          Uniconifies all the selected icons.
 void uniconifyAll()
          Uniconifies all the selected icons.
 

Method Detail

setIconName

public void setIconName(java.lang.String iconName)
Associates an icon name to the instance.

Parameters:
iconName - the name of the icon

getIconName

public java.lang.String getIconName()
Returns the name of the icon associated to the instance.


isIcon

public boolean isIcon()
Returns:
true if the instance is an icon. false otherwise.

iconify

public void iconify()
Iconifies the selection of the instance.
An icon, can't be inconified. But, we can inconify icons _plus_ non-icon parts. The process works as russian dolls.


uniconify

public void uniconify()
Uniconifies all the selected icons.
If the icons contains other icons, these are _not_ uniconified. There is no recursion process.


uniconifyAll

public void uniconifyAll()
Uniconifies all the selected icons.
If the icons contains other icons, these are uniconified. There is a recursion process.


setIsIconifiable

public void setIsIconifiable(boolean isIconifiable)
Sets the istance as iconifiable.

Parameters:
isIconifiable - true if the instance is iconifiable. false otherwise.

isIconifiable

public boolean isIconifiable()
Returns true if the instance is iconifiable. false otherwise.



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