Class MmFond

java.lang.Object
  |
  +--MmFond
All Implemented Interfaces:
MmGUI, MmPropObj, MmXmlObject
Direct Known Subclasses:
MmTravail

class MmFond
extends java.lang.Object
implements MmXmlObject, MmPropObj, MmGUI


Field Summary
(package private) static int FOND_LAYER
           
(package private)  MmGUIObject gui
           
(package private)  MmImg img
           
(package private)  javax.swing.JSlider jSliderH
           
(package private)  javax.swing.JSlider jSliderW
           
(package private)  boolean move
           
(package private)  MmRect rect
           
(package private)  javax.swing.JTextField sel
           
 
Constructor Summary
(package private) MmFond()
           
 
Method Summary
 MmXmlObject add(java.lang.String a)
           
 void creation(javax.swing.JLayeredPane pere)
           
 MmPropObj getChildAt(int i)
           
 int getChildCount()
           
 int getIndexOfChild(MmPropObj kid)
           
 int getLayer()
           
 javax.swing.JLayeredPane getPane()
           
 java.awt.Rectangle getRect()
           
 javax.swing.tree.DefaultMutableTreeNode getTreeNode()
           
 boolean isVisible()
           
 void move(int px, int py)
           
 void moveTo(int x, int y)
           
 javax.swing.JPopupMenu popupMenu(MmTree tree)
          Retourne un JPopupMenu pour le JTree
 javax.swing.JPanel propPane()
          Retourne un objet JPanel permettant de modifier les propietes de l'objet
 javax.swing.JLayeredPane remove()
           
 void resetLocation()
           
 void save(FileW fp, int indent)
           
 void set(java.lang.String caract, java.lang.String something)
           
 void setLayer(int couche)
           
 void setLocation(int x, int y)
           
 void setPane(javax.swing.JLayeredPane nouveau)
           
 void setVisible(boolean val)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

FOND_LAYER

static int FOND_LAYER

img

MmImg img

rect

MmRect rect

gui

MmGUIObject gui

move

boolean move

sel

javax.swing.JTextField sel

jSliderW

javax.swing.JSlider jSliderW

jSliderH

javax.swing.JSlider jSliderH
Constructor Detail

MmFond

MmFond()
Method Detail

set

public void set(java.lang.String caract,
                java.lang.String something)
Specified by:
set in interface MmXmlObject

creation

public void creation(javax.swing.JLayeredPane pere)
Specified by:
creation in interface MmGUI

getLayer

public int getLayer()
Specified by:
getLayer in interface MmGUI

setLayer

public void setLayer(int couche)
Specified by:
setLayer in interface MmGUI

getRect

public java.awt.Rectangle getRect()
Specified by:
getRect in interface MmGUI

setVisible

public void setVisible(boolean val)
Specified by:
setVisible in interface MmGUI

isVisible

public boolean isVisible()
Specified by:
isVisible in interface MmGUI

resetLocation

public void resetLocation()
Specified by:
resetLocation in interface MmGUI

setLocation

public void setLocation(int x,
                        int y)
Specified by:
setLocation in interface MmGUI

moveTo

public void moveTo(int x,
                   int y)
Specified by:
moveTo in interface MmGUI

move

public void move(int px,
                 int py)
Specified by:
move in interface MmGUI

getPane

public javax.swing.JLayeredPane getPane()
Specified by:
getPane in interface MmGUI

setPane

public void setPane(javax.swing.JLayeredPane nouveau)
Specified by:
setPane in interface MmGUI

remove

public javax.swing.JLayeredPane remove()
Specified by:
remove in interface MmGUI

add

public MmXmlObject add(java.lang.String a)
Specified by:
add in interface MmXmlObject

save

public void save(FileW fp,
                 int indent)
          throws java.io.IOException
Specified by:
save in interface MmXmlObject

getTreeNode

public javax.swing.tree.DefaultMutableTreeNode getTreeNode()

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface MmPropObj

getChildAt

public MmPropObj getChildAt(int i)
Specified by:
getChildAt in interface MmPropObj

getIndexOfChild

public int getIndexOfChild(MmPropObj kid)
Specified by:
getIndexOfChild in interface MmPropObj

toString

public java.lang.String toString()
Specified by:
toString in interface MmPropObj
Overrides:
toString in class java.lang.Object

popupMenu

public javax.swing.JPopupMenu popupMenu(MmTree tree)
Description copied from interface: MmPropObj
Retourne un JPopupMenu pour le JTree
Specified by:
popupMenu in interface MmPropObj
Following copied from interface: MmPropObj
Parameters:
tree - Référence au JTree où s'affichera le popup

propPane

public javax.swing.JPanel propPane()
Description copied from interface: MmPropObj
Retourne un objet JPanel permettant de modifier les propietes de l'objet
Specified by:
propPane in interface MmPropObj