Class ClassifierView
- java.lang.Object
-
- com.nomagic.magicdraw.uml.MDElementImpl
-
- com.nomagic.magicdraw.uml.ElementImpl
-
- com.nomagic.magicdraw.uml.symbols.PresentationElement
-
- com.nomagic.magicdraw.uml.symbols.paths.PathConnector
-
- com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
-
- com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
-
- com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
- com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
- com.nomagic.magicdraw.uml.symbols.shapes.ClassifierView
-
- All Implemented Interfaces:
BaseElement
,com.nomagic.magicdraw.uml.CompartmentSupport
,MDElement
,ModelElementProvider
,com.nomagic.magicdraw.uml.symbols.CompartmentContainer
,com.nomagic.magicdraw.uml.symbols.CompartmentOwner
,com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape
,com.nomagic.magicdraw.uml.symbols.shapes.PortOwner
,com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner
,StereotypesDisplayModeOwner
,com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider
,com.nomagic.magicdraw.uml.symbols.Wrapable
,NameOwner
,java.beans.PropertyChangeListener
,java.lang.Cloneable
,java.lang.Comparable
,java.util.EventListener
- Direct Known Subclasses:
ActorView
,ArtifactView
,ClassView
,DataTypeView
,EnumerationView
,InformationItemView
,InterfaceView
,PrimitiveTypeView
,SignalView
,StereotypeView
@OpenApi public abstract class ClassifierView extends com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView implements com.nomagic.magicdraw.uml.symbols.shapes.PortOwner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView.StereotypeDisplayData
-
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement.OnEdgeBounds
-
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
com.nomagic.magicdraw.uml.symbols.PresentationElement.SmartListenerConfigData, com.nomagic.magicdraw.uml.symbols.PresentationElement.StructureCache
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALL
Members display options - display all members.static java.util.List
ASSOCIATION_ENDS_DISPLAY_MODES
List of available association ends display in attribute compartment mode.private com.nomagic.magicdraw.uml.symbols.shapes.AttributesCompartmentHelper
attributesCompartmentHelper
private static com.nomagic.ui.UnmodifiableInsets
COMPARTMENT_INSETS
static UnmodifiableDimension
DEFAULT_SIZE
(package private) static float
DIFFERENCE_PERCENT
Parametrized class shape width and rectangle width difference length percentstatic java.lang.String
DO_NOT_DISPLAY
private static java.util.Comparator<PresentationElement>
DRAW_COMPARATOR
static java.lang.String
IN_COMPARTMENT
static java.util.List
MEMBERS_DISPLAY_MODES
List of available members display options.(package private) static float
MIN_WIDTH_PERCENT
Parametrized class rectangle width percent of whole class shape widthstatic java.lang.String
NOT_PRIVATE
Members display options - not private members.static java.lang.String
ON_SHAPE
static java.lang.String
ONLY_PUBLIC
Members display options - display only public members.private com.nomagic.magicdraw.uml.symbols.shapes.OperationsCompartmentHelper
operationsCompartmentHelper
private int
paramClassOverlapRectHeight
Parameterized class box and parameters view overlap rectangle height.private com.nomagic.magicdraw.uml.symbols.shapes.StructureCompartmentHelper
structureCompartmentHelper
static java.util.List
TAGGED_VALUES_DISPLAY_MODES
static java.lang.String
WITHOUT_ASSOCIATION
Association ends display options - display association end if association symbol is not drawn in the diagram.-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_DO_NOT_DISPLAY, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_IMAGE_AND_STEREOTYPES, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_STEREOTYPES, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODES
-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
CONTAINER_SHAPE_INSETS
-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
BORDER_ELEMENT_MARGIN_ALL, BORDER_ELEMENT_MARGIN_BOTTOM, BORDER_ELEMENT_MARGIN_LEFT, BORDER_ELEMENT_MARGIN_LEFT_RIGHT, BORDER_ELEMENT_MARGIN_MODES, BORDER_ELEMENT_MARGIN_NONE, BORDER_ELEMENT_MARGIN_RIGHT, BORDER_ELEMENT_MARGIN_TOP, BORDER_ELEMENT_MARGIN_TOP_BOTTOM, BOTTOM_EDGE, INSIDE_EDGE_POSITION, LEFT_EDGE, NEED_AUTOSIZE_FULL, NEED_AUTOSIZE_LAYOUT, NEED_AUTOSIZE_NONE, NO_EDGE, NULL_INSETS, ON_EDGE_POSITION, OUTSIDE_EDGE_POSITION, RIGHT_EDGE, SPACE, SPACE_INSETS, SPACE_INSETS_EMPTY_TOP_BOTTOM, SUSPEND_SHAPE_AUTO_RESIZE_FALSE, SUSPEND_SHAPE_AUTO_RESIZE_MODES, SUSPEND_SHAPE_AUTO_RESIZE_SAME_AS_DIAGRAM, SUSPEND_SHAPE_AUTO_RESIZE_TRUE, TOP_EDGE
-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
showsProxy
-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
DASHED_STROKE, DEFAULT_LINE_WIDTH, DOTTED_STROKE, HANDLE_SIZE, MAX_LINE_WIDTH, MIN_LINE_WIDTH, SHADOW_WIDTH, SOLID_STROKE
-
Fields inherited from interface com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner
QNAME_DISPLAY_MODE_ABOVE_NAME, QNAME_DISPLAY_MODE_BELOW_NAME, QNAME_DISPLAY_MODE_DO_NOT_DISPLAY, QNAME_DISPLAY_MODE_MERGE_WITH_NAME, QNAME_DISPLAY_MODES
-
Fields inherited from interface com.nomagic.magicdraw.uml.symbols.shapes.StereotypesDisplayModeOwner
DSL_STEREOTYPE_DISPLAY_MODE_ALL, DSL_STEREOTYPE_DISPLAY_MODE_LAST, DSL_STEREOTYPE_DISPLAY_MODE_NONE, DSL_STEREOTYPE_DISPLAY_MODES, STEREOTYPE_DISPLAY_MODE_DO_NOT_DISPLAY_STEREOTYPES, STEREOTYPE_DISPLAY_MODE_ICON, STEREOTYPE_DISPLAY_MODE_SHAPE_IMAGE, STEREOTYPE_DISPLAY_MODE_SHAPE_IMAGE_AND_TEXT, STEREOTYPE_DISPLAY_MODE_TEXT, STEREOTYPE_DISPLAY_MODE_TEXT_AND_ICON, STEREOTYPES_DISPLAY_MODES, STEREOTYPES_DISPLAY_MODES_SIMPLE
-
-
Constructor Summary
Constructors Modifier Constructor Description ClassifierView()
ClassifierView(PresentationElement parent)
protected
ClassifierView(PresentationElement parent, com.nomagic.magicdraw.uml.symbols.shapes.ClassifierHeaderView header, boolean canDisplayStructure)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
accept(Visitor visitor)
Method accepts visitor, and calls method visit<class name>(this) of visitor .boolean
addConnectedPathElement(PathElement element)
Adds new path element, and recalculates its position.void
addPresentationElement(PresentationElement element, int index, boolean resize)
void
atInsert()
Invalidates object at insertboolean
canAddChild(PresentationElement obj)
Check of given symbol can be added as child into this symbol.boolean
canAddInstance(PresentationElement obj)
Object view has no children.boolean
canStereotypeIconGrow()
ClassifierView
clone()
Returns a copy of theElement
.ContainerShape
createBoundsShape(PathElement path, BoundsTransformation transformation)
Creates bounding shape for intersection calculation.Property
createChangedCompartmentVisibilityProperty(com.nomagic.magicdraw.uml.symbols.shapes.Compartment compartment, boolean showCompartment)
protected void
createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
protected java.util.List<java.lang.Object>
createStateForUpdateOperation()
void
dispose()
disposes ends of links when link is deletedprotected void
drawShadow(java.awt.Graphics g)
protected com.nomagic.ui.UnmodifiableInsets
getAdditionalCompartmentInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level)
protected int
getAdditionalHeaderHeightForPreferredBounds(java.awt.Rectangle headerBounds)
com.nomagic.magicdraw.uml.symbols.shapes.AttributesCompartmentHelper
getAttributesCompartmentHelper()
protected java.util.stream.Stream<com.nomagic.magicdraw.uml.symbols.shapes.BaseMembersCompartmentView>
getBaseMembersCompartmentViewStream()
java.awt.Rectangle
getBoxBounds()
com.nomagic.magicdraw.uml.symbols.shapes.ClassifierHeaderView
getClassifierHeaderView()
Deprecated.usegetHeaderView()
com.nomagic.magicdraw.uml.symbols.shapes.CompartmentHelper
getCompartmentHelper(java.lang.Class modelElement)
UnmodifiableDimension
getDefaultDimension()
java.util.Comparator<PresentationElement>
getDrawComparator()
Classifier
getElement()
Returns model element of this presentation element.EncapsulatedClassifier
getEncapsulatedClassifier()
TypedElement
getEncapsulatedClassifierProvider()
com.nomagic.magicdraw.uml.symbols.shapes.ClassifierHeaderView
getHeaderView()
java.lang.String
getMembersDisplayMode()
Gets members display mode.com.nomagic.magicdraw.uml.symbols.shapes.OperationsCompartmentHelper
getOperationsCompartmentHelper()
protected java.util.stream.Stream<PresentationElement>
getProxyPresentationElementsStream()
com.nomagic.magicdraw.uml.symbols.shapes.StructureCompartmentHelper
getStructureCompartmentHelper()
com.nomagic.magicdraw.uml.symbols.shapes.StructureCompartmentView
getStructureCompartmentView()
java.lang.String
getTaggedValuesDisplayMode()
private TemplateBinding
getTemplateBinding(TemplateableElement classifier)
private Element
getTemplateBindingSupplier()
java.awt.Dimension
getTemplateSignatureExtent(boolean calculatePrefSize)
com.nomagic.magicdraw.uml.symbols.shapes.TemplateSignatureView
getTemplateSignatureView()
private static int
getTemplateSignatureWidth(int classifierWidth, int signaturePrefWidth)
void
initialize()
Initialize symbol and its children state.void
internalApplyProperties(PropertyManager man)
Applies properties from given property managerjava.util.Collection<? extends Element>
internalGetElementsForLinkConnecting()
Returns all possible element that can be used for some link connecting.Element
internalGetElementToConnectLink(Element path, boolean asClient)
Returns element that should be used for given link connecting.protected com.nomagic.ui.UnmodifiableInsets
internalGetHeaderInsets()
protected UnmodifiableDimension
internalGetSelfManipulationPreferredSize()
void
internalLayoutChildren(boolean calculatePrefSize)
void
internalSilentApply()
Silently applies all properties after initializationprotected void
internalSpecificUpdate()
boolean
isChildLayoutable(PresentationElement child)
Check if given child is "layoutable" - it means this shape controls bounds of child inside layoutChildren() method.boolean
isCutMemberNames()
boolean
isShowFullType()
Returns show full typeboolean
isShowInherited()
boolean
isShowQualifiedNameInTaggedValues()
boolean
isShowTaggedValuesStereotypes()
boolean
isShowUML_2_0_Notation()
boolean
isSuppressAttributes()
boolean
isSuppressed(java.lang.Class modelElement)
boolean
isSuppressMethods()
boolean
isSuppressStructure()
boolean
isTemplateSignatureVisible()
boolean
isUseAdvancedColoring()
Returns use advanced coloring flag valueprotected void
preferredSizeIgnoringOrientation(java.awt.Dimension pref, int locationX, int locationY)
boolean
removeConnectedPathElement(PathElement link)
Removes path element.void
removePresentationElement(PresentationElement element, boolean resizeParent)
protected void
reshapeToPreferred()
void
sAddPresentationElement(PresentationElement element, int index)
Add given child to this symbol at given indexprotected void
selfSpecificHeaderShapeDraw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
void
setCutMemberNames(boolean cut)
void
setMembersDisplayMode(java.lang.String membersDisplayMode)
Sets members display mode.void
setShowFullType(boolean show)
Sets show full type for membersvoid
setShowInherited(boolean showInherited)
Show inherited members in compartmentsvoid
setShowQualifiedNameInTaggedValues(boolean show)
void
setShowTaggedValuesStereotypes(boolean show)
void
setShowUML_2_0_Notation(boolean show)
void
setTaggedValuesDisplayMode(java.lang.String mode)
void
setUseAdvancedColoring(boolean use)
Sets use advanced coloringvoid
sRemovePresentationElement(PresentationElement element)
Removes given childvoid
sSetCutMemberNames(boolean cut)
void
sSetMembersDisplayMode(java.lang.String membersDisplayMode)
Sets members display mode.void
sSetShowFullType(boolean show)
Sets show full type for membersvoid
sSetShowInherited(boolean showInherited)
Show inherited members in compartmentsvoid
sSetShowQualifiedNameInTaggedValues(boolean show)
void
sSetShowTaggedValuesStereotypes(boolean show)
void
sSetShowUML_2_0_Notation(boolean b)
void
sSetTaggedValuesDisplayMode(java.lang.String mode)
void
sSetUseAdvancedColoring(boolean use)
Sets use advanced coloringvoid
updateChildrenVisibility()
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
addCompartment, addCompartment, areBoxCompartmentsSuppressed, canHideBorder, canSuppressContent, childrenBoundsForReshape, createCompartmentElements, doInternalLayoutAdditionCompartment, doInternalLayoutChildren, getAdditionalCompartment, getAdditionalCompartmentContainer, getAdditionalCompartmentToLayout, getAdditionalRenderersToNotify, getBooleanCompartmentPropertyValue, getChildrenBoundsForPreferredBounds, getChildrenInsets, getCollections, getCompartmentByID, getCompartmentContainer, getCompartmentIDs, getCompartmentRegistrationInfo, getCompartments, getConfiguredPreferredSizeForAutosize, getConstraintAndTaggedValueAlignment, getConstraintTextMode, getDefaultElementStereotypeToHeader, getDSLStereotypesDisplayMode, getElementNumberDisplayMode, getElementPropertiesCompartmentView, getHeaderMaxYForShrinkableShape, getHeaderVerticalPositionForLayout, getMainCompartmentContainer, getName, getPreferredDimensionForAutosize, getQNameDisplayMode, getSecondaryImageAndStereotypeDisplayMode, getStereotypeLabel, getStereotypesDisplayMode, getSuppressCompartmentPropertyID, hasManipulatedChildrenIncludingIndirect, internalAddIndirectManipulatedChildrenRect, internalBeforeUpdate, internalGetIndirectManipulatedChildrenRect, internalPostSpecificUpdate, internalSetCollections, isBorderVisible, isChildMovable, isMakePreferredSizeAfterPropertiesChange, isShowConstraints, isShowDerivedSign, isShowElementProperties, isShowIcon, isShowNumberTagName, isShowRakeIcon, isShowRakeSymbol, isShowTaggedValues, isShowType, isWrapEnabled, makePreferredSizeAfterPropertiesChange, makePreferredSizeAfterPropertiesChange, onChildEdgeChange, paintSelf, propertyChange, recursiveAutosize, removeCompartment, removeCompartment, setCollections, setCompartmentSuppressed, setConstraintAndTaggedValueAlignment, setConstraints, setConstraintTextMode, setDSLStereotypesDisplayMode, setElementNumberDisplayMode, setHeaderObject, setMakePreferredSizeAfterPropertiesChange, setQNameDisplayMode, setReshapeMode, setSecondaryImageAndStereotypeDisplayMode, setShowCompartmentName, setShowConstraints, setShowDerivedSign, setShowElementProperties, setShowIcon, setShowNumberTagName, setShowTaggedValues, setShowType, setStereotype, setStereotypesDisplayMode, setTaggedValues, setVisibleElements, setWrapEnabled, sSetCompartmentSuppressed, sSetConstraintAndTaggedValueAlignment, sSetConstraintTextMode, sSetDSLStereotypesDisplayMode, sSetElement, sSetElementNumberDisplayMode, sSetName, sSetQNameDisplayMode, sSetSecondaryImageAndStereotypeDisplayMode, sSetShowCompartmentName, sSetShowConstraints, sSetShowDerivedSign, sSetShowElementProperties, sSetShowIcon, sSetShowNumberTagName, sSetShowTaggedValues, sSetShowType, sSetStereotypesDisplayMode, sSetWrapEnabled, updateBorderVisibility, updateCompartmentsVisibility, updateName
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
autosize, autosizeAndResizeParent, calculateMinY, calculateOvalShapePreferredSize, correctChildrenVector, coversPoint, editName, getHeaderBoundsForPreferredBounds, getHeaderDistanceFromTopForOvalShape, getHeaderInsets, getHeaderObject, getHeaderVerticalPosition, getNameLabel, getOvalShapeAvailableWidth, getPreferredBounds, getPresentationElementAt, getStereotypesToDisplay, internalGetHeaderBoundsForPreferredBounds, internalPostUpdatePresentationElement, internalPreSpecificUpdate, internalUpdatePresentationElement, invalidate, isContentHidden, isHeaderOrientationVertical, isOvalShape, isParentShowsProxy, minimumDimension, minimumDimensionForShrinking, minimumSizeForShrinkingIgnoringOrientation, minimumSizeIgnoringOrientation, paintChildren, preferredDimension, setHeaderVerticalPosition, setName, setTextEditable, sSetAutosize, sSetHeaderVerticalPosition, switchWidthHeightIfVerticalOrientation
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
addPresentationElement, addPresentationElementWithoutResize, adjustBoundsForMoving, adjustChildBoundsForMoving, autosizeByChildren, calculateAutosizeDimension, calculateAutosizeDimension, canMoveChildOutside, checkShowsProxy, clearShowsProxy, constructLayoutHelper, getChildrenBounds, getChildrenOnBorderBounds, getContainerBounds, getLayoutHelper, getLayoutHelperClone, getManipulatedElementAt, getManipulationPreferredDimension, getPresentationElementIndex, getPresentationElements, getRemovableChildren, hasManipulatedShapesNotOnEdge, hasManipulatedShapesOnEdge, hasManipulatedShapesOnEdge, internalAppendChildRect, internalGetChildAt, internalGetManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalRecursiveAutosizeForChildren, internalSetChildren, isCanChildrenChangeEdge, isCanMoveChildren, layoutChildren, moveChild, moveChildren, needAdjustToPreferred, paintChildrenBackground, prefDimensionByManipulatedChildren, removePresentationElement, setBounds, setBounds, setCanMoveChildren, setDummyResizeMode, setFillColor, setLayoutHelper, setPresentationElements, showPathElements, simpleSetBounds, simpleSetBounds, sSetPresentationElements
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
addBreakPoints, adjustBounds, adjustOnEdge, adjustOnEdge, adjustOnEdgeChildren, autosize, calculateAdjustOnEdgeLocation, calculateAndGetMinimumShrinkingDimension, calculateAndGetPreferredDimension, calculateEdge, calculateMinimumDimension, calculateOnEdgeBounds, calculatePreferredDimension, calculatePreferredDimension, canBeAutosized, canHavePaths, clearOldRect, edgeChanged, ensureDimension, ensurePreferredDimensionIfShrinkable, ensurePreferredDimensionIfShrinkable, findFreePlaceForShapeOnBorder, getBorderElementMargin, getBounds, getCenterlineableInnerParts, getDimensionForShrinking, getEdgeLine, getFixedConnectionPoints, getHeaderInsetReduce, getInsetsForOnEdgeShapes, getIntersection, getIntersection, getIntersection, getLoadedDimension, getMiddlePoint, getMiddlePoint, getMiddlePointX, getMiddlePointX, getMiddlePointY, getMiddlePointY, getMinimumDimension, getNearestEdge, getNearestEdge, getNeedAutosizeFlag, getNotCopyBounds, getOnEdge, getOnEdgeCornerDistance, getOnEdgePosition, getPreferredDimension, getReshapeMode, getSuspendShapeAutoResizeMode, hasManipulator, internalGetBoundsShape, intersects, isAutosized, isCenterlineInner, isHorizontalCenterlineProvider, isOnEdge, isShrinkable, isSnapShapesOnBorderToGrid, isSnapToGrid, isUseFixedConnectionPoints, isVerticalCenterlineProvider, layoutChildren, maximumDimension, minimumOrMinimumShrinkableDimension, moveLinksToSelf, movePathElement, movePathElements, needAdjustToMaximumDimension, prepareForShadowDrawing, providesHorizontalCenterline, providesVerticalCenterline, resetCalculatePreferredRegardingChildren, setAutosize, setBorderElementMargin, setCalculatePreferredRegardingChildren, setLoadedDimension, setMinimumDimension, setNeedAutosizeFlag, setOldRect, setOnEdge, setPreferredDimension, setSnapShapesOnBorderToGrid, setSuspendShapeAutoResizeMode, setUseFixedConnectionPoints, shouldDrawShadow, simpleSetBounds, simpleSetBounds, snapsToCenterlines, sSetBorderElementMargin, sSetBounds, sSetSuspendShapeAutoResizeMode, sSetVisibility, toString, updateLater
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, sAddConnectedPathElement, selectPathsForMoving, setParent, setVisibility, sRemoveConnectedPathElement, sSetConnectedPathElements
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
addPresentationElement, addProperty, adjustChildBounds, alwaysShowTooltip, applyProperties, askDeleteDataConfirmation, atInsertChildren, autosizeAndResizeManipulatedParent, beforeDelete, boundsChanged, boundsChanged, canAddChild, canAddInstance, canBeDisposedOnUpdate, canChangeElementParent, canChangeParent, canChangeParent, canFill, changeProperties, changeProperty, changePropertyManager, checkElementParentOnAdd, checkProxyVisibility, childrenForMoving, clearAntialiasingState, collectSubManipulatedElements, collectSubPresentationElements, collectSubPresentationElements, collectSubShowingPresentationElements, constructChangePropertyCommand, createPropertyChangeListener, createPropertyManager, disposeChildren, disposeListener, draw, drawBackground, drawSymbol, drawSymbolBackground, dynamicFillColor, dynamicLineColor, dynamicLineWidth, dynamicLineWidth, dynamicPaintShadow, dynamicStroke, dynamicStroke, dynamicStroke, dynamicStyleFillColor, dynamicStyleFillPaint, dynamicStyleLineColor, dynamicStyleTextColor, dynamicStyleTransparency, dynamicStyleTransparency, dynamicStyleValue, dynamicTextAlignment, dynamicTextColor, editName, findParentForData, findPresentationElement, firePropertyChange, generateID, getActualElement, getActualProperty, getAssignableModelElementsClasses, getBooleanPropertyValue, getBoundsShape, getBoundsToRepaint, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDynamicConfigurations, getDynamicStyleOwner, getElementsForLinkConnecting, getElementToConnectLink, getElementToMove, getExpectedDataParent, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getNotZoomedTolerance, getObjectParent, getParent, getParentSymbolPropertyOwner, getPreferredSize, getPresentationElementAt, getPresentationElementAt, getPresentationElementCount, getPresentationElementsAt, getPresentationElementsAt, getPresentationElementStroke, getPresentationElementStroke, getProjectImpl, getProperty, getPropertyManager, getPropertyManagerName, getRealPropertyManager, getRenderer, getSelected, getStereotypeColor, getStereotypeFont, getStringPropertyValue, getStroke, getStroke, getStroke, getStroke, getStroke, getStroke, getSymbolRenderer, getTextColor, getTolerance, getVisibility, getVisiblePresentationElements, handleModelDelete, hasDiagramSurface, hasManipulatedPresentationElements, hasSharedData, initializeAndAutosize, internalCreatePropertyChangeListener, internalGetPresentationElementStroke, internalSnapToGrid, internalSnapToGrid, isChildVisible, isCreateElementListener, isDetectable, isDisposed, isLayouting, isMovableByMoveManager, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, isShowElementTypeAsLabel, isSortable, isTestUpdateFlag, isTextEditable, isUseFillColor, isUseFillColorByProperty, isUseGradientForFill, isVisible, isVisibleInDiagram, isVisibleOrShrunken, movePathElementsRecursively, mustShowContextMenu, notifyCreated, notifyDiagramFrameSizeChange, notifyRepaintManager, onFind, onFind, onFontChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintSelfBackground, preDisposeOnUpdate, prepareForFillDrawing, prepareForLineDrawing, prepareForTextDrawing, recreateListeners, registerInSortManager, rememberBounds, rememberBounds, removeFromSortManager, removeItSelfOnUpdate, resizeParent, sAddPresentationElement, selectChildrenForMoving, selectObjectsForMoving, setAllSelected, setBounds, setCreateElementListener, setDiagramSurface, setElement, setFont, setFontProperty, setLayouting, setLineColor, setLineWidth, setLoadedVisibility, setLocation, setLocation, setNeedRecreateListeners, setPropertyManager, setPropertyManagerName, setSelected, setSelected, setSize, setSize, setSize, setStereotypeColor, setStereotypeFont, setStrokeIfNotTheSame, setTestUpdateFlag, setTextColor, setTextColorProperty, setUseFillColor, setVisible, silentApply, silentApply, simpleSetBounds, snapToGrid, snapToGrid, snapViewToGrid, sortObjectsByX, sortObjectsByY, sSetBounds, sSetLineWidth, sSetLocation, sSetLocation, sSetParent, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateAfterLoad, updateLabelsIgnoringSuspendableLater, updateModelByView, updateModelByViewInternal, updateViewAfterPropertyChange, useParentProperties
-
Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, canDeleteChild, compareTo, createSortKeys, getClassType, getCommandForAppending, getID, getProject, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, sGetID
-
-
-
-
Field Detail
-
ON_SHAPE
public static final java.lang.String ON_SHAPE
- See Also:
- Constant Field Values
-
IN_COMPARTMENT
public static final java.lang.String IN_COMPARTMENT
- See Also:
- Constant Field Values
-
DO_NOT_DISPLAY
public static final java.lang.String DO_NOT_DISPLAY
- See Also:
- Constant Field Values
-
TAGGED_VALUES_DISPLAY_MODES
public static final java.util.List TAGGED_VALUES_DISPLAY_MODES
-
ALL
public static final java.lang.String ALL
Members display options - display all members.- See Also:
- Constant Field Values
-
ONLY_PUBLIC
public static final java.lang.String ONLY_PUBLIC
Members display options - display only public members.- See Also:
- Constant Field Values
-
NOT_PRIVATE
public static final java.lang.String NOT_PRIVATE
Members display options - not private members.- See Also:
- Constant Field Values
-
MEMBERS_DISPLAY_MODES
public static final java.util.List MEMBERS_DISPLAY_MODES
List of available members display options.- See Also:
ALL
,ONLY_PUBLIC
,NOT_PRIVATE
-
WITHOUT_ASSOCIATION
public static final java.lang.String WITHOUT_ASSOCIATION
Association ends display options - display association end if association symbol is not drawn in the diagram.- See Also:
- Constant Field Values
-
ASSOCIATION_ENDS_DISPLAY_MODES
public static final java.util.List ASSOCIATION_ENDS_DISPLAY_MODES
List of available association ends display in attribute compartment mode.- See Also:
ALL
,WITHOUT_ASSOCIATION
,DO_NOT_DISPLAY
-
DRAW_COMPARATOR
private static final java.util.Comparator<PresentationElement> DRAW_COMPARATOR
-
COMPARTMENT_INSETS
private static final com.nomagic.ui.UnmodifiableInsets COMPARTMENT_INSETS
-
DEFAULT_SIZE
public static final UnmodifiableDimension DEFAULT_SIZE
-
paramClassOverlapRectHeight
private int paramClassOverlapRectHeight
Parameterized class box and parameters view overlap rectangle height.
-
DIFFERENCE_PERCENT
static final float DIFFERENCE_PERCENT
Parametrized class shape width and rectangle width difference length percent- See Also:
- Constant Field Values
-
MIN_WIDTH_PERCENT
static final float MIN_WIDTH_PERCENT
Parametrized class rectangle width percent of whole class shape width- See Also:
- Constant Field Values
-
attributesCompartmentHelper
private com.nomagic.magicdraw.uml.symbols.shapes.AttributesCompartmentHelper attributesCompartmentHelper
-
operationsCompartmentHelper
private com.nomagic.magicdraw.uml.symbols.shapes.OperationsCompartmentHelper operationsCompartmentHelper
-
structureCompartmentHelper
private com.nomagic.magicdraw.uml.symbols.shapes.StructureCompartmentHelper structureCompartmentHelper
-
-
Constructor Detail
-
ClassifierView
public ClassifierView()
-
ClassifierView
public ClassifierView(@CheckForNull PresentationElement parent)
-
ClassifierView
protected ClassifierView(@CheckForNull PresentationElement parent, com.nomagic.magicdraw.uml.symbols.shapes.ClassifierHeaderView header, boolean canDisplayStructure)
-
-
Method Detail
-
getDefaultDimension
public UnmodifiableDimension getDefaultDimension()
-
getTemplateSignatureView
public com.nomagic.magicdraw.uml.symbols.shapes.TemplateSignatureView getTemplateSignatureView()
- Returns:
- TemplateSignatureView symbol
-
getStructureCompartmentView
public com.nomagic.magicdraw.uml.symbols.shapes.StructureCompartmentView getStructureCompartmentView()
- Returns:
- StructureCompartment symbol
-
sSetShowFullType
public void sSetShowFullType(boolean show)
Sets show full type for members- Parameters:
show
- show full type
-
setShowFullType
public void setShowFullType(boolean show)
Sets show full type for members- Parameters:
show
- show full type
-
isShowFullType
public boolean isShowFullType()
Returns show full type- Returns:
- show full type
-
sSetUseAdvancedColoring
public void sSetUseAdvancedColoring(boolean use)
Sets use advanced coloring- Parameters:
use
- use advanced coloring flag
-
setUseAdvancedColoring
public void setUseAdvancedColoring(boolean use)
Sets use advanced coloring- Parameters:
use
- use advanced coloring flag
-
isUseAdvancedColoring
public boolean isUseAdvancedColoring()
Returns use advanced coloring flag value- Returns:
- advanced coloring value
-
clone
public ClassifierView clone()
Description copied from class:ElementImpl
Returns a copy of theElement
.- Specified by:
clone
in interfaceBaseElement
- Overrides:
clone
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
- Returns:
- the cloned object
-
preferredSizeIgnoringOrientation
protected void preferredSizeIgnoringOrientation(java.awt.Dimension pref, int locationX, int locationY)
- Overrides:
preferredSizeIgnoringOrientation
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
internalLayoutChildren
public void internalLayoutChildren(boolean calculatePrefSize)
- Overrides:
internalLayoutChildren
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getTemplateSignatureWidth
private static int getTemplateSignatureWidth(int classifierWidth, int signaturePrefWidth)
-
getTemplateSignatureExtent
@CheckForNull public java.awt.Dimension getTemplateSignatureExtent(boolean calculatePrefSize)
-
getAdditionalHeaderHeightForPreferredBounds
protected int getAdditionalHeaderHeightForPreferredBounds(@CheckForNull java.awt.Rectangle headerBounds)
- Overrides:
getAdditionalHeaderHeightForPreferredBounds
in classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
createStateForUpdateOperation
protected java.util.List<java.lang.Object> createStateForUpdateOperation()
- Overrides:
createStateForUpdateOperation
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
internalSpecificUpdate
protected void internalSpecificUpdate()
- Overrides:
internalSpecificUpdate
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getTemplateBindingSupplier
@CheckForNull private Element getTemplateBindingSupplier()
-
atInsert
public void atInsert()
Description copied from class:PresentationElement
Invalidates object at insert- Specified by:
atInsert
in interfaceBaseElement
- Overrides:
atInsert
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
dispose
public void dispose()
Description copied from class:PresentationElement
disposes ends of links when link is deleted- Specified by:
dispose
in interfaceBaseElement
- Overrides:
dispose
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getTemplateBinding
@CheckForNull private TemplateBinding getTemplateBinding(TemplateableElement classifier)
-
updateChildrenVisibility
public void updateChildrenVisibility()
- Overrides:
updateChildrenVisibility
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
isSuppressAttributes
public boolean isSuppressAttributes()
-
isSuppressMethods
public boolean isSuppressMethods()
-
isSuppressed
public boolean isSuppressed(java.lang.Class modelElement)
-
isSuppressStructure
public boolean isSuppressStructure()
-
accept
public void accept(Visitor visitor) throws java.lang.Exception
Description copied from interface:MDElement
Method accepts visitor, and calls method visit<class name>(this) of visitor . See Visitor pattern for more details.
-
initialize
public void initialize()
Description copied from class:PresentationElement
Initialize symbol and its children state. Symbol must be initialized before doing any resize, painting and etc. These operations can lead to unpredictable results otherwise.
-
canAddInstance
public boolean canAddInstance(PresentationElement obj)
Description copied from class:PresentationElement
Object view has no children.- Overrides:
canAddInstance
in classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
canAddChild
public boolean canAddChild(PresentationElement obj)
Description copied from class:PresentationElement
Check of given symbol can be added as child into this symbol.- Overrides:
canAddChild
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
- Parameters:
obj
- symbol- Returns:
- true if symbol can be added
-
canStereotypeIconGrow
public boolean canStereotypeIconGrow()
- Returns:
- true if stereotype icon forces shape growing into all directions on resize
-
createBoundsShape
public ContainerShape createBoundsShape(PathElement path, BoundsTransformation transformation)
Description copied from class:ShapeElement
Creates bounding shape for intersection calculation.- Overrides:
createBoundsShape
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
- Parameters:
path
- pathtransformation
- transformation- Returns:
- shape
-
addPresentationElement
public void addPresentationElement(PresentationElement element, int index, boolean resize)
- Overrides:
addPresentationElement
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
sAddPresentationElement
public void sAddPresentationElement(PresentationElement element, int index)
Description copied from class:PresentationElement
Add given child to this symbol at given index- Overrides:
sAddPresentationElement
in classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
- Parameters:
element
- child to addindex
- index to add at. Can be -1
-
removePresentationElement
public void removePresentationElement(PresentationElement element, boolean resizeParent)
- Overrides:
removePresentationElement
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
sRemovePresentationElement
public void sRemovePresentationElement(PresentationElement element)
Description copied from class:PresentationElement
Removes given child- Overrides:
sRemovePresentationElement
in classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
- Parameters:
element
- child
-
internalApplyProperties
public void internalApplyProperties(PropertyManager man)
Description copied from class:PresentationElement
Applies properties from given property manager- Overrides:
internalApplyProperties
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
- Parameters:
man
- new properties
-
internalSilentApply
public void internalSilentApply()
Description copied from class:PresentationElement
Silently applies all properties after initialization- Overrides:
internalSilentApply
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
sSetTaggedValuesDisplayMode
public void sSetTaggedValuesDisplayMode(java.lang.String mode)
-
setTaggedValuesDisplayMode
public void setTaggedValuesDisplayMode(java.lang.String mode)
-
isShowTaggedValuesStereotypes
public boolean isShowTaggedValuesStereotypes()
-
sSetShowTaggedValuesStereotypes
public void sSetShowTaggedValuesStereotypes(boolean show)
-
setShowTaggedValuesStereotypes
public void setShowTaggedValuesStereotypes(boolean show)
-
isShowQualifiedNameInTaggedValues
public boolean isShowQualifiedNameInTaggedValues()
-
sSetShowQualifiedNameInTaggedValues
public void sSetShowQualifiedNameInTaggedValues(boolean show)
-
setShowQualifiedNameInTaggedValues
public void setShowQualifiedNameInTaggedValues(boolean show)
-
setCutMemberNames
public void setCutMemberNames(boolean cut)
-
sSetCutMemberNames
public void sSetCutMemberNames(boolean cut)
-
isCutMemberNames
public boolean isCutMemberNames()
-
getTaggedValuesDisplayMode
public java.lang.String getTaggedValuesDisplayMode()
-
getDrawComparator
public java.util.Comparator<PresentationElement> getDrawComparator()
-
sSetShowUML_2_0_Notation
public void sSetShowUML_2_0_Notation(boolean b)
-
isShowUML_2_0_Notation
public boolean isShowUML_2_0_Notation()
-
addConnectedPathElement
public boolean addConnectedPathElement(PathElement element)
Description copied from class:PathConnector
Adds new path element, and recalculates its position.- Parameters:
element
- element to be added.- Returns:
- true if element was added
-
reshapeToPreferred
protected void reshapeToPreferred()
-
removeConnectedPathElement
public boolean removeConnectedPathElement(PathElement link)
Description copied from class:PathConnector
Removes path element.- Parameters:
link
- element to remove.- Returns:
- true if element was removed
-
setShowUML_2_0_Notation
public void setShowUML_2_0_Notation(boolean show)
-
isTemplateSignatureVisible
public boolean isTemplateSignatureVisible()
-
getAttributesCompartmentHelper
public com.nomagic.magicdraw.uml.symbols.shapes.AttributesCompartmentHelper getAttributesCompartmentHelper()
-
getOperationsCompartmentHelper
public com.nomagic.magicdraw.uml.symbols.shapes.OperationsCompartmentHelper getOperationsCompartmentHelper()
-
getCompartmentHelper
public com.nomagic.magicdraw.uml.symbols.shapes.CompartmentHelper getCompartmentHelper(java.lang.Class modelElement)
-
getStructureCompartmentHelper
public com.nomagic.magicdraw.uml.symbols.shapes.StructureCompartmentHelper getStructureCompartmentHelper()
-
internalGetElementToConnectLink
public Element internalGetElementToConnectLink(@CheckForNull Element path, boolean asClient)
Description copied from class:PresentationElement
Returns element that should be used for given link connecting. All possible elements are return by method getElementsForLinkConnecting. Usually this method should be overridden together with getElementsForLinkConnecting().- Returns:
- all possible elements
- See Also:
PresentationElement.getElementsForLinkConnecting()
-
internalGetElementsForLinkConnecting
public java.util.Collection<? extends Element> internalGetElementsForLinkConnecting()
Description copied from class:PresentationElement
Returns all possible element that can be used for some link connecting. One of these elements are return in method getElementToConnectLink() in specific situation. Usually this method should be overridden together with getElementsForLinkConnecting().- Returns:
- all possible elements
- See Also:
PresentationElement.getElementToConnectLink(Element, boolean)
-
createSmartListenerConfig
protected void createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
- Overrides:
createSmartListenerConfig
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
internalGetHeaderInsets
protected com.nomagic.ui.UnmodifiableInsets internalGetHeaderInsets()
- Overrides:
internalGetHeaderInsets
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getAdditionalCompartmentInsets
protected com.nomagic.ui.UnmodifiableInsets getAdditionalCompartmentInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level)
- Overrides:
getAdditionalCompartmentInsets
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getProxyPresentationElementsStream
protected java.util.stream.Stream<PresentationElement> getProxyPresentationElementsStream()
- Overrides:
getProxyPresentationElementsStream
in classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
internalGetSelfManipulationPreferredSize
protected UnmodifiableDimension internalGetSelfManipulationPreferredSize()
- Overrides:
internalGetSelfManipulationPreferredSize
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getEncapsulatedClassifier
public EncapsulatedClassifier getEncapsulatedClassifier()
- Specified by:
getEncapsulatedClassifier
in interfacecom.nomagic.magicdraw.uml.symbols.shapes.PortOwner
-
getEncapsulatedClassifierProvider
public TypedElement getEncapsulatedClassifierProvider()
- Specified by:
getEncapsulatedClassifierProvider
in interfacecom.nomagic.magicdraw.uml.symbols.shapes.PortOwner
-
getBoxBounds
public java.awt.Rectangle getBoxBounds()
-
selfSpecificHeaderShapeDraw
protected void selfSpecificHeaderShapeDraw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
- Overrides:
selfSpecificHeaderShapeDraw
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
drawShadow
protected void drawShadow(java.awt.Graphics g)
-
getMembersDisplayMode
public java.lang.String getMembersDisplayMode()
Gets members display mode.- Returns:
- mode
- See Also:
setMembersDisplayMode(String)
,ALL
,NOT_PRIVATE
,ONLY_PUBLIC
-
sSetMembersDisplayMode
public void sSetMembersDisplayMode(java.lang.String membersDisplayMode)
Sets members display mode. Does not update classifier symbol.- Parameters:
membersDisplayMode
- display mode- See Also:
setMembersDisplayMode(String)
,ALL
,NOT_PRIVATE
,ONLY_PUBLIC
-
setMembersDisplayMode
public void setMembersDisplayMode(java.lang.String membersDisplayMode)
Sets members display mode.- Parameters:
membersDisplayMode
- display mode- See Also:
setMembersDisplayMode(String)
,ALL
,NOT_PRIVATE
,ONLY_PUBLIC
-
isShowInherited
public boolean isShowInherited()
- Returns:
- true if inherited members are shown in compartments
-
sSetShowInherited
public void sSetShowInherited(boolean showInherited)
Show inherited members in compartments- Parameters:
showInherited
- show
-
setShowInherited
public void setShowInherited(boolean showInherited)
Show inherited members in compartments- Parameters:
showInherited
- show
-
isChildLayoutable
public boolean isChildLayoutable(PresentationElement child)
Description copied from class:ShapeElement
Check if given child is "layoutable" - it means this shape controls bounds of child inside layoutChildren() method. Not "layoutable" children are just moved together with parent, but layoutChildren() does not control their location.- Overrides:
isChildLayoutable
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
- Parameters:
child
- child- Returns:
- true if given child is layed out inside autosize method of this shape. False here
-
createChangedCompartmentVisibilityProperty
public Property createChangedCompartmentVisibilityProperty(com.nomagic.magicdraw.uml.symbols.shapes.Compartment compartment, boolean showCompartment)
- Specified by:
createChangedCompartmentVisibilityProperty
in interfacecom.nomagic.magicdraw.uml.symbols.CompartmentOwner
- Overrides:
createChangedCompartmentVisibilityProperty
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getElement
public Classifier getElement()
Description copied from class:PresentationElement
Returns model element of this presentation element. Some presentation elements (for example TextBoxes) do not have model elements.- Specified by:
getElement
in interfaceModelElementProvider
- Overrides:
getElement
in classPresentationElement
- Returns:
- model element of this presentation element.
-
getBaseMembersCompartmentViewStream
protected java.util.stream.Stream<com.nomagic.magicdraw.uml.symbols.shapes.BaseMembersCompartmentView> getBaseMembersCompartmentViewStream()
-
getHeaderView
public com.nomagic.magicdraw.uml.symbols.shapes.ClassifierHeaderView getHeaderView()
- Overrides:
getHeaderView
in classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
getClassifierHeaderView
@Deprecated public com.nomagic.magicdraw.uml.symbols.shapes.ClassifierHeaderView getClassifierHeaderView()
Deprecated.usegetHeaderView()
-
-