| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final TextBoundsType | |
| pack-priv static final double | |
| pack-priv static final String | |
| pack-priv static final double | |
| pack-priv static final Text | |
| pack-priv static final TextLayout |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public static double | |
| public static String | |
| public static String | computeClippedWrappedText(Font font, String text, double width, double height, double lineSpacing, OverrunStyle truncationStyle, String ellipsisString, TextBoundsType boundsType)
|
| pack-priv static int | |
| public static Point2D | computeMnemonicPosition(Font font, String text, int mnemonicIndex, double wrappingWidth, double lineSpacing, boolean isRTL)
|
| pack-priv static int | |
| public static double | |
| public static double | computeTextHeight(Font font, String text, double wrappingWidth, double lineSpacing, TextBoundsType boundsType)
|
| public static double | |
| public static int | |
| public static double | |
| public static double | |
| public static <T> void | |
| private static int | |
| public static String | |
| public static double | |
| public static double | |
| public static URL | |
| private static boolean | |
| public static boolean | |
| private static int | |
| public static void | |
| private static boolean |
| DEFAULT_BOUNDS_TYPE | back to summary |
|---|---|
| pack-priv static final TextBoundsType DEFAULT_BOUNDS_TYPE | |
| DEFAULT_LINE_SPACING | back to summary |
|---|---|
| pack-priv static final double DEFAULT_LINE_SPACING | |
| DEFAULT_TEXT | back to summary |
|---|---|
| pack-priv static final String DEFAULT_TEXT | |
| DEFAULT_WRAPPING_WIDTH | back to summary |
|---|---|
| pack-priv static final double DEFAULT_WRAPPING_WIDTH | |
| helper | back to summary |
|---|---|
| pack-priv static final Text helper | |
| layout | back to summary |
|---|---|
| pack-priv static final TextLayout layout | |
| Utils | back to summary |
|---|---|
| public Utils() | |
| addMnemonics | back to summary |
|---|---|
| public static void addMnemonics(ContextMenu popup, Scene scene) | |
| addMnemonics | back to summary |
|---|---|
| public static void addMnemonics(ContextMenu popup, Scene scene, boolean initialState) | |
| addMnemonics | back to summary |
|---|---|
| public static void addMnemonics(ContextMenu popup, Scene scene, boolean initialState, List<Mnemonic> into) | |
| boundedSize | back to summary |
|---|---|
| public static double boundedSize(double value, double min, double max) | |
| computeClippedText | back to summary |
|---|---|
| public static String computeClippedText(Font font, String text, double width, OverrunStyle type, String ellipsisString) | |
| computeClippedWrappedText | back to summary |
|---|---|
| public static String computeClippedWrappedText(Font font, String text, double width, double height, double lineSpacing, OverrunStyle truncationStyle, String ellipsisString, TextBoundsType boundsType) | |
| computeEndOfWord | back to summary |
|---|---|
| pack-priv static int computeEndOfWord(Font font, String text, int index) | |
| computeMnemonicPosition | back to summary |
|---|---|
| public static Point2D computeMnemonicPosition(Font font, String text, int mnemonicIndex, double wrappingWidth, double lineSpacing, boolean isRTL) | |
| computeStartOfWord | back to summary |
|---|---|
| pack-priv static int computeStartOfWord(Font font, String text, int index) | |
| computeTextHeight | back to summary |
|---|---|
| public static double computeTextHeight(Font font, String text, double wrappingWidth, TextBoundsType boundsType) | |
| computeTextHeight | back to summary |
|---|---|
| public static double computeTextHeight(Font font, String text, double wrappingWidth, double lineSpacing, TextBoundsType boundsType) | |
| computeTextWidth | back to summary |
|---|---|
| public static double computeTextWidth(Font font, String text, double wrappingWidth) | |
| computeTruncationIndex | back to summary |
|---|---|
| public static int computeTruncationIndex(Font font, String text, double width) | |
| computeXOffset | back to summary |
|---|---|
| public static double computeXOffset(double width, double contentWidth, HPos hpos) | |
| computeYOffset | back to summary |
|---|---|
| public static double computeYOffset(double height, double contentHeight, VPos vpos) | |
| executeOnceWhenPropertyIsNonNull | back to summary |
|---|---|
| public static <T> void executeOnceWhenPropertyIsNonNull(ObservableValue<T> p, Consumer<T> consumer) | |
| firstBreakCharIndex | back to summary |
|---|---|
| private static int firstBreakCharIndex(String str, int start) | |
| formatHexString | back to summary |
|---|---|
| public static String formatHexString(Color c) | |
| getAscent | back to summary |
|---|---|
| public static double getAscent(Font font, TextBoundsType boundsType) | |
| getLineHeight | back to summary |
|---|---|
| public static double getLineHeight(Font font, TextBoundsType boundsType) | |
| getResource | back to summary |
|---|---|
| public static URL getResource(String str) | |
| isPreferredBreakCharacter | back to summary |
|---|---|
| private static boolean isPreferredBreakCharacter(char ch) | |
| isTwoLevelFocus | back to summary |
|---|---|
| public static boolean isTwoLevelFocus() | |
| lastBreakCharIndex | back to summary |
|---|---|
| private static int lastBreakCharIndex(String str, int start) | |
| removeMnemonics | back to summary |
|---|---|
| public static void removeMnemonics(ContextMenu popup, Scene scene) | |
| requiresComplexLayout | back to summary |
|---|---|
| private static boolean requiresComplexLayout(Font font, String string) | |