| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.modifier.Modifier
net.sf.magicproject.modifier.IdCardModifier
net.sf.magicproject.modifier.ObjectIdCardModifier
public class ObjectIdCardModifier
| Field Summary | 
|---|
| Fields inherited from class net.sf.magicproject.modifier.Modifier | 
|---|
| layer, next | 
| Method Summary | |
|---|---|
|  int | getNbObjects(java.lang.String objectName,
             Test objectTest)Return occurences number of the given object with the given name. | 
|  int | paintObject(java.awt.Graphics g,
            int startX,
            int startY)Paint all objects of the given MCard component. | 
|  Modifier | removeObject(java.lang.String objectName,
             Test objectTest)remove from the manager a occurence of object with the specified name | 
| Methods inherited from class net.sf.magicproject.modifier.IdCardModifier | 
|---|
| getIdCard, refresh, removeFromManager, removeModifier | 
| Methods inherited from class net.sf.magicproject.modifier.Modifier | 
|---|
| addModifier, getCard, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public Modifier removeObject(java.lang.String objectName,
                             Test objectTest)
ObjectModifier
removeObject in interface ObjectModifierremoveObject in class ModifierobjectName - the object's name to removeobjectTest - The test applied on specific modifier to be removed.
public int paintObject(java.awt.Graphics g,
                       int startX,
                       int startY)
ObjectModifier
paintObject in interface ObjectModifierpaintObject in class Modifierg - the graphics used ot paint this object.startX - the x position where this object can be paint.startY - the y position where this object can be paint.
public int getNbObjects(java.lang.String objectName,
                        Test objectTest)
ObjectModifier
getNbObjects in interface ObjectModifiergetNbObjects in class ModifierobjectName - the object's name to find within this chain.objectTest - The test applied on specific modifier to be removed.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||