com.sas.visuals
Interface ResizeToFitInterface

All Known Implementing Classes:
ArrowButton, BaseButton, Button, CheckBox, CheckBoxCell, Choice, ComboBox, GraphicalCheckBox, ImageSequence, ImageView, ImageView, Label, LabelView, NumericTextField, PushButton, RadioButton, StyledLabelView, TabButton, TextField, ToggleButton, ToolbarButton

public interface ResizeToFitInterface

An interface describing an visual component that will attempt to resize itself to fit its preferredSize property.


Method Summary
 boolean isResizeToFit()
          Get the resizeToFit property value.
 void setResizeToFit(boolean resizeToFit)
          Set the resizeToFit property value.
 

Method Detail

isResizeToFit

boolean isResizeToFit()
Get the resizeToFit property value.

Returns:
true if the component will attempt to resize itself to fit the preferredSize for its current contents; false otherwise.

setResizeToFit

void setResizeToFit(boolean resizeToFit)
Set the resizeToFit property value.

Parameters:
resizeToFit - true, if the component should attempt to resize itself to fit the preferredSize for its current contents; false, otherwise.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.