}
}
@Override
public Dimensions getPreferredSize(int breakWidth) {
ImageNode imageNode = (ImageNode)getNode();
Image image = imageNode.getImage();
if (image == null) {
return new Dimensions(0, 0);
}
return new Dimensions(image.getWidth(), image.getHeight());