Added isLaidOut().

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1590 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2005-02-14 02:59:06 +00:00
parent 6c4480c762
commit 14036f3060
@@ -276,6 +276,14 @@ public class Label implements SwingConstants, LabelStyleConstants
return _size;
}
/**
* Returns true if this label has been laid out, false if not.
*/
public boolean isLaidOut ()
{
return (_layouts != null);
}
/**
* Calls {@link #layout(Graphics2D)} with the graphics context for the
* given component.