|
Quaqua 5.4.1 2009-07-14 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.layout.Baseline
ch.randelshofer.quaqua.QuaquaBaseline
public class QuaquaBaseline
QuaquaBaseline.
Field Summary |
---|
Fields inherited from class org.jdesktop.layout.Baseline |
---|
BRB_CENTER_OFFSET, BRB_CONSTANT_ASCENT, BRB_CONSTANT_DESCENT, BRB_OTHER |
Constructor Summary | |
---|---|
QuaquaBaseline()
Creates a new instance. |
Method Summary | |
---|---|
int |
getComponentBaseline(javax.swing.JComponent component,
int width,
int height)
Returns the baseline for the specified component, or -1 if the baseline can not be determined. |
Methods inherited from class org.jdesktop.layout.Baseline |
---|
getBaseline, getBaseline, getBaselineResizeBehavior |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuaquaBaseline()
Method Detail |
---|
public int getComponentBaseline(javax.swing.JComponent component, int width, int height)
getComponentBaseline
in class Baseline
component
- JComponent to calculate baseline forwidth
- Width of the component to determine baseline for.height
- Height of the component to determine baseline for.
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |