Methods in
org.eclipse.draw2d that return
Dimension
|
protected
Dimension
|
XYLayout.
calculatePreferredSize
(
IFigure f,
int wHint,
int hHint)
Calculates and returns the preferred size of the input figure. |
protected
Dimension
|
ViewportLayout.
calculateMinimumSize
(
IFigure figure,
int wHint,
int hHint)
Returns the minimum size required by the input viewport figure. |
protected
Dimension
|
ViewportLayout.
calculatePreferredSize
(
IFigure parent,
int wHint,
int hHint)
Calculates and returns the preferred size of the figure based on the given hints. |
protected
Dimension
|
ToolbarLayout.
calculateMinimumSize
(
IFigure container,
int wHint,
int hHint)
Calculates the minimum size of the container based on the given hints. |
protected
Dimension
|
ToolbarLayout.
calculatePreferredSize
(
IFigure container,
int wHint,
int hHint)
Calculates the preferred size of the container based on the given hints. |
protected
Dimension
|
ToolbarLayout.
getChildMinimumSize
(
IFigure child,
int wHint,
int hHint)
|
protected
Dimension
|
ToolbarLayout.
getChildPreferredSize
(
IFigure child,
int wHint,
int hHint)
|
Dimension
|
TextUtilities.
getStringExtents
(java.lang.String s,
Font f)
Returns the Dimensions of s in Font f. |
Dimension
|
TextUtilities.
getTextExtents
(java.lang.String s,
Font f)
Returns the Dimensions of the given text, converting newlines and tabs
appropriately. |
protected
Dimension
|
StackLayout.
calculateMinimumSize
(
IFigure figure,
int wHint,
int hHint)
Returns the minimum size required by the input container. |
protected
Dimension
|
StackLayout.
calculatePreferredSize
(
IFigure figure,
int wHint,
int hHint)
Calculates and returns the preferred size of the given figure. |
Dimension
|
ScrollPaneLayout.
calculateMinimumSize
(
IFigure figure,
int w,
int h)
|
protected
Dimension
|
ScrollPaneLayout.
calculatePreferredSize
(
IFigure container,
int wHint,
int hHint)
Calculates and returns the preferred size of the container based on the given hints.
|
protected
Dimension
|
ScrollBarLayout.
calculatePreferredSize
(
IFigure parent,
int w,
int h)
|
Dimension
|
ScalableLayeredPane.
getMinimumSize
(int wHint,
int hHint)
|
Dimension
|
ScalableLayeredPane.
getPreferredSize
(int wHint,
int hHint)
|
protected
Dimension
|
PopUpHelper.
getShellTrimSize
()
Returns the size needed to display the shell's trim. |
Dimension
|
LayoutManager.
getMinimumSize
(
IFigure container,
int wHint,
int hHint)
Returns the minimum size of the given figure. |
Dimension
|
LayoutManager.
getPreferredSize
(
IFigure container,
int wHint,
int hHint)
Returns the preferred size of the given figure, using width and height hints. |
protected
Dimension
|
Label.
calculateLabelSize
(
Dimension txtSize)
Calculates the size of the Label using the passed Dimension as the size of the Label's
text. |
protected
Dimension
|
Label.
calculateSubStringTextSize
()
Calculates the size of the Label's text size. |
protected
Dimension
|
Label.
calculateTextSize
()
Calculates and returns the size of the Label's text. |
Dimension
|
Label.
getMinimumSize
(int w,
int h)
|
Dimension
|
Label.
getPreferredSize
(int wHint,
int hHint)
|
protected
Dimension
|
Label.
getSubStringTextSize
()
Returns the size of the Label's current text. |
protected
Dimension
|
Label.
getTextSize
()
Returns the size of the label's complete text. |
protected
Dimension
|
Label.
getIconSize
()
Gets the icon size |
Dimension
|
ImageFigure.
getPreferredSize
(int wHint,
int hHint)
Calculates the necessary size to display the Image within the figure's client area. |
Dimension
|
IFigure.
getMaximumSize
()
Returns a hint indicating the largest desireable size for the IFigure. |
Dimension
|
IFigure.
getMinimumSize
()
Returns a hint indicating the smallest desireable size for the IFigure.
|
Dimension
|
IFigure.
getMinimumSize
(int wHint,
int hHint)
Returns a hint indicating the smallest desireable size for the IFigure.
|
Dimension
|
IFigure.
getPreferredSize
()
Returns the preferred size for this IFigure. |
Dimension
|
IFigure.
getPreferredSize
(int wHint,
int hHint)
Returns the preferred size for this IFigure using the provided width and height hints.
|
Dimension
|
IFigure.
getSize
()
Returns the current size. |
Dimension
|
GroupBoxBorder.
getPreferredSize
(
IFigure fig)
|
protected
Dimension
|
GridLayout.
getChildSize
(
IFigure child,
int wHint,
int hHint)
|
protected
Dimension
|
GridLayout.
calculatePreferredSize
(
IFigure container,
int wHint,
int hHint)
|
protected
Dimension
|
FlowLayout.
calculatePreferredSize
(
IFigure container,
int wHint,
int hHint)
|
protected
Dimension
|
FlowLayout.
getChildSize
(
IFigure child,
int wHint,
int hHint)
Provides the given child's preferred size. |
static
Dimension
|
FigureUtilities.
getTextExtents
(java.lang.String text,
Font f)
Returns the Dimensions of the given text, converting newlines and tabs appropriately. |
static
Dimension
|
FigureUtilities.
getStringExtents
(java.lang.String s,
Font f)
Returns the Dimensions of s in Font f. |
Dimension
|
Figure.
getMaximumSize
()
|
Dimension
|
Figure.
getMinimumSize
()
|
Dimension
|
Figure.
getMinimumSize
(int wHint,
int hHint)
|
Dimension
|
Figure.
getPreferredSize
()
|
Dimension
|
Figure.
getPreferredSize
(int wHint,
int hHint)
|
Dimension
|
Figure.
getSize
()
|
protected
Dimension
|
DelegatingLayout.
calculatePreferredSize
(
IFigure parent,
int wHint,
int hHint)
Calculates the preferred size of the given Figure.
|
Dimension
|
CompoundBorder.
getPreferredSize
(
IFigure fig)
|
protected
Dimension
|
BorderLayout.
calculateMinimumSize
(
IFigure container,
int wHint,
int hHint)
|
protected
Dimension
|
BorderLayout.
calculatePreferredSize
(
IFigure container,
int wHint,
int hHint)
|
Dimension
|
Border.
getPreferredSize
(
IFigure figure)
Returns the preferred width and height that this border would like to display itself
properly. |
protected abstract
Dimension
|
AbstractLayout.
calculatePreferredSize
(
IFigure container,
int wHint,
int hHint)
Calculates the preferred size of the given figure, using width and height hints. |
protected
Dimension
|
AbstractLayout.
getBorderPreferredSize
(
IFigure container)
Returns the preferred size of the figure's border. |
Dimension
|
AbstractLayout.
getMinimumSize
(
IFigure container,
int wHint,
int hHint)
|
Dimension
|
AbstractLayout.
getPreferredSize
(
IFigure container,
int wHint,
int hHint)
Returns the preferred size of the given figure, using width and height hints. |
Dimension
|
AbstractLabeledBorder.
getPreferredSize
(
IFigure fig)
|
protected
Dimension
|
AbstractLabeledBorder.
getTextExtents
(
IFigure f)
Calculates and returns the size required by this border's label. |
protected
Dimension
|
AbstractHintLayout.
calculateMinimumSize
(
IFigure container,
int wHint,
int hHint)
Calculates the minimum size using the given width and height hints. |
Dimension
|
AbstractHintLayout.
getMinimumSize
(
IFigure container,
int w,
int h)
|
Dimension
|
AbstractHintLayout.
getPreferredSize
(
IFigure container,
int w,
int h)
|
Dimension
|
AbstractBorder.
getPreferredSize
(
IFigure f)
|