|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiPart
com.swfm.mica.core.MiContainer
com.swfm.mica.core.MiAttachments
Note, this clased sparingly, as the master MiPart's should API should be used to add and remove things from an MiAttachments.
| Field Summary |
| Constructor Summary | |
MiAttachments()
|
|
MiAttachments(MiPart obj)
|
|
| Method Summary | |
void |
appendAttachment(MiPart obj,
int location,
java.lang.String tag,
MiMargins margins)
Append the given part to the attachments of this MiPart. |
void |
appendAttachment(MiPart obj,
int location,
java.lang.String tag,
MiMargins margins,
boolean drawAfter)
|
MiPart |
deepCopy()
Makes and returns a copy of this container and all of it's parts. |
void |
drawAfter(MiRenderer renderer)
|
void |
drawBefore(MiRenderer renderer)
|
MiPart |
getAttachment(java.lang.String tag)
Get this MiPart's attachment with the given tag. |
MiMargins |
getAttachmentMargins(java.lang.String tag)
Get this MiPart's attachment's margins with the given tag. |
MiPart |
getContainer(int index)
Gets the container at the given index. |
int |
getNumberOfContainers()
Gets the number of containers of this MiPart. |
boolean |
hasAttachment(MiPart obj)
Gets whether this MiPart has the given attachment. |
void |
invalidateArea()
Invalidates the entire area (drawBounds) of this MiPart. |
void |
invalidateArea(MiBounds area)
Invalidates the given area of this MiPart if invalid area notifications are enabled. |
void |
invalidateCachedEventHandlerInfo()
Invalidates the cached information about the event handlers assigned to this MiPart and it's containers. |
void |
invalidateLayout()
Specifies that this MiPart has an invalid layout if incoming invalid layout notifications are enabled. |
void |
invalidateLayouts()
|
boolean |
isBeforePart(MiPart obj)
|
void |
layoutParts()
Call any layout to validate itself. |
void |
pickDeepListAfter(MiBounds area,
MiParts list)
|
void |
pickDeepListBefore(MiBounds area,
MiParts list)
|
void |
removeAllAttachments()
Remove all of this MiPart's attachments. |
void |
removeAttachment(MiPart obj)
Remove the given attachment from this MiPart. |
void |
removeAttachment(java.lang.String tag)
Remove this MiPart's attachment with the given tag. |
void |
setAttachedToObject(MiPart obj)
|
void |
setAttachmentDrawnAfter(java.lang.String tag,
boolean drawAfter)
The default is true, attachments drawn after attached-to part and all its parts |
void |
setAttachmentMargins(java.lang.String tag,
MiMargins margins)
Set this MiPart's attachment's margins with the given tag. |
boolean |
setAttachmentTag(MiPart obj,
java.lang.String tag)
|
java.lang.String |
toString()
Returns information about this MiPart. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MiAttachments()
public MiAttachments(MiPart obj)
| Method Detail |
public void setAttachedToObject(MiPart obj)
public MiPart getContainer(int index)
MiPart
getContainer in class MiPartindex - the index of the container to get
public int getNumberOfContainers()
MiPart
getNumberOfContainers in class MiPart
public void appendAttachment(MiPart obj,
int location,
java.lang.String tag,
MiMargins margins)
MiPart
appendAttachment in class MiPartobj - the attachment to append to thislocation - the location relative to this
MiPart to put the attachmenttag - the tag to be used to identify
the attachmentmargins - the margin to be used to adjust
the location of the attachment
public void appendAttachment(MiPart obj,
int location,
java.lang.String tag,
MiMargins margins,
boolean drawAfter)
public void removeAllAttachments()
MiPart
removeAllAttachments in class MiPartpublic void removeAttachment(MiPart obj)
MiPart
removeAttachment in class MiPartobj - the attachment to removepublic boolean hasAttachment(MiPart obj)
MiPart
hasAttachment in class MiPartobj - the attachment to check for
public boolean setAttachmentTag(MiPart obj,
java.lang.String tag)
public boolean isBeforePart(MiPart obj)
public void removeAttachment(java.lang.String tag)
MiPart
removeAttachment in class MiParttag - the tag of the attachmentpublic MiPart getAttachment(java.lang.String tag)
MiPart
getAttachment in class MiParttag - the tag of the attachment
public MiMargins getAttachmentMargins(java.lang.String tag)
MiPart
getAttachmentMargins in class MiParttag - the tag of the attachment
public void setAttachmentDrawnAfter(java.lang.String tag,
boolean drawAfter)
setAttachmentDrawnAfter in class MiPart
public void setAttachmentMargins(java.lang.String tag,
MiMargins margins)
MiPart
setAttachmentMargins in class MiParttag - the tag of the attachmentmargins - the margins of the attachmentpublic MiPart deepCopy()
MiContainer
deepCopy in class MiContainerMiPart.copy()
public void pickDeepListBefore(MiBounds area,
MiParts list)
public void pickDeepListAfter(MiBounds area,
MiParts list)
public void drawBefore(MiRenderer renderer)
public void drawAfter(MiRenderer renderer)
public void invalidateArea()
MiPart
invalidateArea in class MiPartMiPart.setInvalidAreaNotificationsEnabled(boolean)public void invalidateArea(MiBounds area)
MiPart
invalidateArea in class MiPartarea - the area to invalidateMiPart.setInvalidAreaNotificationsEnabled(boolean)public void invalidateCachedEventHandlerInfo()
MiContainer
invalidateCachedEventHandlerInfo in class MiContainerpublic void invalidateLayouts()
public void invalidateLayout()
MiPart
invalidateLayout in class MiPartMiPart.setInvalidLayoutNotificationsEnabled(boolean),
MiPart.setIncomingInvalidLayoutNotificationsEnabled(boolean),
MiPart.setOutgoingInvalidLayoutNotificationsEnabled(boolean)public void layoutParts()
MiPart
layoutParts in class MiPartpublic java.lang.String toString()
MiPart
toString in class MiPart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||