Interface CommentLayerAwareModel
public interface CommentLayerAwareModel
This is a contract of a component model that is aware of the cockpit comment layer.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the context of the comment layer.Returns the object that is the target of the comment layer for the given model.org.zkoss.zk.ui.ComponentbooleanDetermines if the comment layer is now active
-
Method Details
-
getCommentLayerContext
CommentLayerContext getCommentLayerContext()Returns the context of the comment layer. The context has reference to the current state of the comment layer.- Returns:
CommentLayerContext
-
getCommentLayerTarget
Object getCommentLayerTarget()Returns the object that is the target of the comment layer for the given model. I.e for PrintPageBrowserModel, that is the target Page.- Returns:
Object
-
isCommentLayerActive
boolean isCommentLayerActive()Determines if the comment layer is now active -
getParentAreaComponent
org.zkoss.zk.ui.Component getParentAreaComponent()
-