Added isLaidOut().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1590 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user