Package com.intellij.util.ui
Class MenuItemLayoutHelper.RectSize
java.lang.Object
com.intellij.util.ui.MenuItemLayoutHelper.RectSize
- All Implemented Interfaces:
MenuItemLayoutHelper.MIRectSize
- Enclosing class:
- MenuItemLayoutHelper
public static class MenuItemLayoutHelper.RectSize
extends Object
implements MenuItemLayoutHelper.MIRectSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintgetWidth()voidsetHeight(int height) voidsetMaxWidth(int maxWidth) voidsetOrigWidth(int origWidth) voidsetWidth(int width) toString()
-
Constructor Details
-
RectSize
public RectSize() -
RectSize
public RectSize(int width, int height, int origWidth, int maxWidth)
-
-
Method Details
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceMenuItemLayoutHelper.MIRectSize
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceMenuItemLayoutHelper.MIRectSize
-
getOrigWidth
public int getOrigWidth()- Specified by:
getOrigWidthin interfaceMenuItemLayoutHelper.MIRectSize
-
getMaxWidth
public int getMaxWidth()- Specified by:
getMaxWidthin interfaceMenuItemLayoutHelper.MIRectSize
-
setWidth
public void setWidth(int width) - Specified by:
setWidthin interfaceMenuItemLayoutHelper.MIRectSize
-
setHeight
public void setHeight(int height) - Specified by:
setHeightin interfaceMenuItemLayoutHelper.MIRectSize
-
setOrigWidth
public void setOrigWidth(int origWidth) -
setMaxWidth
public void setMaxWidth(int maxWidth) -
toString
-