Package org.javlo.service
Class ClipBoard
- java.lang.Object
-
- org.javlo.service.ClipBoard
-
public class ClipBoard extends Object
- Author:
- pvandermaesen used for copy&paste a component in the site.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
copy(ContentContext ctx, Object inCopied, String icon)
Object
getCopied()
ComponentBean
getCopiedComponent(ContentContext ctx)
String
getIcon()
static ClipBoard
getInstance(javax.servlet.http.HttpServletRequest request)
String
getLabel()
boolean
isEmpty(ContentContext ctx)
void
setIcon(String icon)
-
-
-
Method Detail
-
getInstance
public static ClipBoard getInstance(javax.servlet.http.HttpServletRequest request)
-
copy
public void copy(ContentContext ctx, Object inCopied, String icon)
-
getCopied
public Object getCopied()
-
getIcon
public String getIcon()
-
getLabel
public String getLabel()
-
isEmpty
public boolean isEmpty(ContentContext ctx) throws Exception
- Throws:
Exception
-
clear
public void clear()
-
getCopiedComponent
public ComponentBean getCopiedComponent(ContentContext ctx) throws Exception
- Throws:
Exception
-
setIcon
public void setIcon(String icon)
-
-