public class CommentLayerUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CommentLayerUtils.UNIT |
| Constructor and Description |
|---|
CommentLayerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearEventListeners(Component component,
String... eventNames) |
static CommentLayerComponent |
getOwningCommentLayer(CommentLayerAwareModel model,
CommentModel commentItemModel) |
static double |
getSizeNumberValue(String stringValue) |
static double |
getSizeNumberValue(String stringValue,
CommentLayerUtils.UNIT unit) |
static boolean |
isValidCommentText(String text) |
static String |
numericSizeToString(double value) |
static String |
numericSizeToString(double value,
CommentLayerUtils.UNIT unit) |
public static String numericSizeToString(double value, CommentLayerUtils.UNIT unit)
public static String numericSizeToString(double value)
public static double getSizeNumberValue(String stringValue, CommentLayerUtils.UNIT unit)
public static double getSizeNumberValue(String stringValue)
public static void clearEventListeners(Component component,
String... eventNames)
public static CommentLayerComponent getOwningCommentLayer(CommentLayerAwareModel model, CommentModel commentItemModel)
public static boolean isValidCommentText(String text)
Copyright © 2017 SAP SE. All Rights Reserved.