public abstract class BlockGroupView extends GroupView
StyledView.Display
Modifier and Type | Field and Description |
---|---|
protected Gadget |
customViewGadget |
protected Gadget |
endLabelGadget |
protected Gadget |
startLabelGadget |
element, style, viewToolTip
Constructor and Description |
---|
BlockGroupView(Element element,
Style style) |
Modifier and Type | Method and Description |
---|---|
Gadget |
getCustomViewGadget() |
void |
getCustomViewGadgets(GadgetList gadgetList) |
Gadget |
getEndLabelGadget() |
void |
getEndLabelGadgets(GadgetList gadgetList) |
Gadget |
getStartLabelGadget() |
void |
getStartLabelGadgets(GadgetList gadgetList) |
void |
initView(ViewParameters param,
ViewParameters paramBefore,
Style styleBefore,
ViewParameters paramAfter,
Style styleAfter,
StyledViewFactory viewFactory)
Creates one or more
Gadget s,
themselves implementing the StyledElementViewPart interface,
which are used to render an element graphically on screen. |
boolean |
isCustomView()
Returns
true if this view is a custom replacement for the
normal view of an element; false otherwise. |
boolean |
isInlineDisplay()
Returns
true if the display returned by
StyledView.getDisplay() is an inline-like display;
false if it is a block-like display. |
addChildViewGadgets, getGadgets, removeChildViewGadgets
contentToGadget, contentToImage, detachingFromModel, getElement, getMarginBottom, getMarginTop, getModel, getStyle, getViewFactory, getViewToolTip, hasDynamicVerticalMargins, isTreeView, isTreeViewContainer, singleContentToGadget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplay
protected Gadget startLabelGadget
protected Gadget customViewGadget
protected Gadget endLabelGadget
public void initView(ViewParameters param, ViewParameters paramBefore, Style styleBefore, ViewParameters paramAfter, Style styleAfter, StyledViewFactory viewFactory)
StyledElementView
Gadget
s,
themselves implementing the StyledElementViewPart
interface,
which are used to render an element graphically on screen.initView
in interface StyledElementView
initView
in class ViewBase
public boolean isCustomView()
ElementViewBase
true
if this view is a custom replacement for the
normal view of an element; false
otherwise.public Gadget getStartLabelGadget()
public Gadget getCustomViewGadget()
public Gadget getEndLabelGadget()
public void getStartLabelGadgets(GadgetList gadgetList)
getStartLabelGadgets
in class GroupView
public void getCustomViewGadgets(GadgetList gadgetList)
getCustomViewGadgets
in class GroupView
public void getEndLabelGadgets(GadgetList gadgetList)
getEndLabelGadgets
in class GroupView
public boolean isInlineDisplay()
StyledView
true
if the display returned by
StyledView.getDisplay()
is an inline-like display;
false
if it is a block-like display.