com.leafdigital.ui.api
Interface SizeInfo


public interface SizeInfo

JComponentWrapper-wrapped components may implement this if they need width-dependent sizing.


Method Summary
 int getPreferredHeight(int width)
           
 int getPreferredWidth()
           
 

Method Detail

getPreferredWidth

int getPreferredWidth()
Returns:
Preferred width

getPreferredHeight

int getPreferredHeight(int width)
Parameters:
width - Actual width
Returns:
Preferred height given specified width


Copyright © 2011 Samuel Marshall. All rights reserved.