Package com.intellij.util.ui
Class UIUtilities
java.lang.Object
com.intellij.util.ui.UIUtilities
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringclipString(JComponent c, FontMetrics fm, String string, int availTextWidth) static StringclipStringIfNecessary(JComponent c, FontMetrics fm, String string, int availTextWidth) static ComponentcompositeRequestFocus(Component component) static FontRenderContextstatic intgetLeftSideBearing(JComponent c, FontMetrics fm, char firstChar) static intgetLeftSideBearing(JComponent c, FontMetrics fm, String string) static booleanisComplexCharCode(int code) static booleanisComplexLayout(char[] text, int start, int limit) static intloc2IndexFileList(JList<?> list, Point point) static booleanpointOutsidePrefSize(JTable table, int row, int column, Point p) static voidsetLeadAnchorWithoutSelection(ListSelectionModel model, int lead, int anchor) static voidsetSkipClickCount(Component comp, int count) static intstringWidth(JComponent c, FontMetrics fm, String string) static boolean
-
Field Details
-
BASICMENUITEMUI_MAX_TEXT_OFFSET
-
-
Constructor Details
-
UIUtilities
public UIUtilities()
-
-
Method Details
-
isComplexLayout
public static boolean isComplexLayout(char[] text, int start, int limit) -
isComplexCharCode
public static boolean isComplexCharCode(int code) -
getLeftSideBearing
-
getLeftSideBearing
-
stringWidth
-
clipStringIfNecessary
public static String clipStringIfNecessary(JComponent c, FontMetrics fm, String string, int availTextWidth) -
clipString
-
getFontRenderContext
-
setLeadAnchorWithoutSelection
-
loc2IndexFileList
-
pointOutsidePrefSize
-
compositeRequestFocus
-
tabbedPaneChangeFocusTo
-
setSkipClickCount
-