|
||||||||||
| 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.layouts.MiLayout
com.swfm.mica.core.MiVisibleContainer
com.swfm.mica.widgets.MiWidget
com.swfm.mica.widgets.MiScrolledBox
| Field Summary |
| Constructor Summary | |
MiScrolledBox()
|
|
MiScrolledBox(MiPart subject)
|
|
| Method Summary | |
void |
appendItem(MiPart part)
Appends the given item to this container. |
void |
calcMinimumSize(MiSize size)
Gets the minimum size of this MiPart. |
void |
calcPreferredSize(MiSize size)
Gets the preferred size of this MiPart. |
MiVisibleContainer |
getBox()
|
Strings |
getContents()
Gets the contents (list of values) this widget displays. |
MiScrollBar |
getHScrollBar()
|
MiRowLayout |
getHScrollBarBox()
|
int |
getHScrollBarDisplayPolicy()
Gets the horizontal scrollbar display policy which is either: Mi_DISPLAY_ALWAYS Mi_DISPLAY_NEVER Mi_DISPLAY_AS_NEEDED (the default) |
MiiScrollableData |
getScrollable()
|
MiPart |
getSubject()
|
java.lang.String |
getValue()
Gets the value this widget displays. |
MiScrollBar |
getVScrollBar()
|
MiColumnLayout |
getVScrollBarBox()
|
int |
getVScrollBarDisplayPolicy()
Gets the vertical scrollbar display policy which is either: Mi_DISPLAY_ALWAYS Mi_DISPLAY_NEVER Mi_DISPLAY_AS_NEEDED (the default) |
boolean |
hasValidLayout()
Gets whether this MiPart's layout, if any, is valid and does not need to be recalculated. |
void |
invalidateLayout()
This routine catches changes in layout of the subject and registers this with the containing window so that the containers of this are not re-laid-out which would cause an annoying visual disturbance. |
boolean |
isIgnoringScrollableContentWhenDeterminingPreferredSize()
Gets whether the size of this scolled box is entirely determined by the container, usually a layout, of whether the preferred size of the scrollable content is taken ito consideration. |
boolean |
processAction(MiiAction action)
Processes the given action. |
void |
setBackgroundColor(java.awt.Color c)
Sets the background color. |
void |
setContents(Strings contents)
Sets the contents (list of values) this widget displays. |
void |
setHScrollBarDisplayPolicy(int policy)
Sets the horizontal scrollbar display policy to either: Mi_DISPLAY_ALWAYS Mi_DISPLAY_NEVER Mi_DISPLAY_AS_NEEDED (the default) |
void |
setIgnoringScrollableContentWhenDeterminingPreferredSize(boolean flag)
Sets whether the size of this scolled box is entirely determined by the container, usually a layout, of whether the preferred size of the scrollable content is taken ito consideration. |
void |
setScrollable(MiiScrollableData scrollable)
|
void |
setSubject(MiPart subject)
|
void |
setValue(java.lang.String value)
Sets the value this widget displays. |
void |
setVScrollBarDisplayPolicy(int policy)
Gets the vertical scrollbar display policy which is either: Mi_DISPLAY_ALWAYS Mi_DISPLAY_NEVER Mi_DISPLAY_AS_NEEDED (the default) |
void |
updateScrollBars()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.swfm.mica.layouts.MiiLayout |
getMinimumSize, getPreferredSize |
| Constructor Detail |
public MiScrolledBox()
public MiScrolledBox(MiPart subject)
| Method Detail |
public void appendItem(MiPart part)
MiPart
appendItem in class MiPartpart - the item to appendpublic void setScrollable(MiiScrollableData scrollable)
public void setSubject(MiPart subject)
public MiPart getSubject()
public MiiScrollableData getScrollable()
public MiRowLayout getHScrollBarBox()
public MiColumnLayout getVScrollBarBox()
public MiScrollBar getHScrollBar()
public MiScrollBar getVScrollBar()
public MiVisibleContainer getBox()
public void setHScrollBarDisplayPolicy(int policy)
policy - the policysetVScrollBarDisplayPolicy(int),
getHScrollBarDisplayPolicy()public int getHScrollBarDisplayPolicy()
setVScrollBarDisplayPolicy(int),
setHScrollBarDisplayPolicy(int)public void setVScrollBarDisplayPolicy(int policy)
policy - the policygetVScrollBarDisplayPolicy(),
setHScrollBarDisplayPolicy(int)public int getVScrollBarDisplayPolicy()
setVScrollBarDisplayPolicy(int),
setHScrollBarDisplayPolicy(int)public void setIgnoringScrollableContentWhenDeterminingPreferredSize(boolean flag)
isIgnoringScrollableContentWhenDeterminingPreferredSize()public boolean isIgnoringScrollableContentWhenDeterminingPreferredSize()
setIgnoringScrollableContentWhenDeterminingPreferredSize(boolean)public void setBackgroundColor(java.awt.Color c)
MiPart
setBackgroundColor in class MiPartc - the colorpublic void setValue(java.lang.String value)
MiWidget
setValue in class MiWidgetvalue - the value in the form of a text
stringpublic java.lang.String getValue()
MiWidget
getValue in class MiWidgetpublic void setContents(Strings contents)
MiWidget
setContents in class MiWidgetcontents - the contents in the form of a list
of text stringspublic Strings getContents()
MiWidget
getContents in class MiWidgetpublic boolean processAction(MiiAction action)
MiiActionHandler
processAction in interface MiiActionHandleraction - the action to process
public void calcPreferredSize(MiSize size)
MiVisibleContainer
calcPreferredSize in class MiVisibleContainersize - the (returned) preferred sizeMiPart.getPreferredSize(com.swfm.mica.core.MiSize)public void calcMinimumSize(MiSize size)
MiVisibleContainer
calcMinimumSize in class MiVisibleContainersize - the (returned) minimum sizeMiPart.getMinimumSize(com.swfm.mica.core.MiSize)public void invalidateLayout()
invalidateLayout in interface MiiLayoutinvalidateLayout in class MiPartMiPart.setInvalidLayoutNotificationsEnabled(boolean),
MiPart.setIncomingInvalidLayoutNotificationsEnabled(boolean),
MiPart.setOutgoingInvalidLayoutNotificationsEnabled(boolean)public boolean hasValidLayout()
MiPart
hasValidLayout in class MiPartpublic void updateScrollBars()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||