public class PrintCockpitTools extends Object
| Constructor and Description |
|---|
PrintCockpitTools() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertNewlineToHtml(String s) |
static boolean |
different(Object o1,
Object o2) |
static String |
getAdjustedUrl(String url) |
static PrintcockpitSessionAddon |
getSessionAddon() |
static boolean |
isFromOtherDesktop(Component comp) |
static boolean |
isParent(Component parent,
Component child) |
static int |
min(int[] set) |
static void |
modifySClass(HtmlBasedComponent component,
String className,
boolean add)
Adds or removes a style class to the components style classes.
|
static void |
modifyStyle(AbstractTag component,
String key,
String value) |
static void |
modifyStyle(HtmlBasedComponent component,
String key,
String value) |
static void |
reloadTableEditor()
Reloads table editor and updates preview
|
static void |
saveTableEditor()
Save table editor and updates preview and table grid component
|
static void |
showNoPermissionMessage() |
static Collection |
toColl(Object o) |
public static PrintcockpitSessionAddon getSessionAddon()
public static boolean isFromOtherDesktop(Component comp)
public static boolean isParent(Component parent,
Component child)
public static int min(int[] set)
set - public static void modifySClass(HtmlBasedComponent component,
String className,
boolean add)
component - the component to change style classesclassName - the class nameadd - adding or removing the classpublic static void reloadTableEditor()
public static void saveTableEditor()
public static void showNoPermissionMessage()
public static Collection toColl(Object o)
Copyright © 2017 SAP SE. All Rights Reserved.