com.threerings.miso.client
Class SceneObjectTip.DefaultLayout
java.lang.Object
com.threerings.miso.client.SceneObjectTip.DefaultLayout
- All Implemented Interfaces:
- SceneObjectTip.TipLayout
- Enclosing class:
- SceneObjectTip
protected static class SceneObjectTip.DefaultLayout
- extends Object
- implements SceneObjectTip.TipLayout
Our default tip layout algorithm which centers the tip in the
bounds of the object in question.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SceneObjectTip.DefaultLayout
protected SceneObjectTip.DefaultLayout()
layout
public void layout(Graphics2D gfx,
Rectangle boundary,
SceneObject tipFor,
SceneObjectTip tip)
- Description copied from interface:
SceneObjectTip.TipLayout
- Position the supplied tip relative to the supplied scene object.
- Specified by:
layout in interface SceneObjectTip.TipLayout