|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jmex.bui.BComponent
com.jmex.bui.BContainer
com.jmex.bui.BScrollingList.BViewport
protected class BScrollingList.BViewport
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jmex.bui.BContainer |
|---|
BContainer.ChildOp |
| Field Summary | |
|---|---|
protected int |
_offset
|
protected boolean |
_snap
|
protected Rectangle |
_srect
|
| Fields inherited from class com.jmex.bui.BContainer |
|---|
_children, _layout |
| Fields inherited from class com.jmex.bui.BComponent |
|---|
_alpha, _backgrounds, _bbuf, _borders, _colors, _cursor, _enabled, _height, _hover, _insets, _listeners, _parent, _preferredSize, _properties, _styleClass, _tipmouse, _tipStyle, _tiptext, _valid, _visible, _width, _x, _y, DEFAULT, DISABLED, HOVER, STATE_COUNT, STATE_PCLASSES |
| Constructor Summary | |
|---|---|
BScrollingList.BViewport()
|
|
| Method Summary | |
|---|---|
BComponent |
getHitComponent(int mx,
int my)
Returns the component "hit" by the specified mouse coordinates which might be this component or any of its children. |
BScrollBar |
getVerticalScrollBar()
|
void |
invalidate()
Marks this component as invalid and needing a relayout. |
void |
invalidateAndSnap()
Recomputes our layout and snaps to the bottom if we were at the bottom previously. |
void |
layout()
Instructs this component to lay itself out. |
protected void |
renderComponent(com.jme.renderer.Renderer renderer)
Renders any custom bits for this component. |
void |
stateChanged(ChangeEvent event)
Indicates that the underlying model has changed. |
protected void |
wasAdded()
This method is called when we are added to a hierarchy that is connected to a top-level window (at which point we can rely on having a look and feel and can set ourselves up). |
protected void |
wasRemoved()
This method is called when we are removed from a hierarchy that is connected to a top-level window. |
| Methods inherited from class com.jmex.bui.BContainer |
|---|
add, add, add, add, applyOperation, computePreferredSize, getComponent, getComponentCount, getComponentIndex, getDefaultStyleClass, getLayoutManager, getNextFocus, getPreviousFocus, remove, remove, removeAll, replace, setAlpha, setEnabled, setLayoutManager, setVisible, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int _offset
protected boolean _snap
protected Rectangle _srect
| Constructor Detail |
|---|
public BScrollingList.BViewport()
| Method Detail |
|---|
public BScrollBar getVerticalScrollBar()
public void invalidateAndSnap()
protected void wasAdded()
BComponent
wasAdded in class BContainerprotected void wasRemoved()
BComponentBComponent.wasAdded(), this is a fine place
to do so.
wasRemoved in class BContainerpublic void stateChanged(ChangeEvent event)
ChangeListener
stateChanged in interface ChangeListenerpublic void invalidate()
BComponent
invalidate in class BComponentpublic void layout()
BComponent
layout in class BContainerprotected void renderComponent(com.jme.renderer.Renderer renderer)
BComponent
renderComponent in class BContainer
public BComponent getHitComponent(int mx,
int my)
BComponent
getHitComponent in class BContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||