public class LegendImpl extends BlockImpl implements Legend
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList| 限定符和类型 | 方法和说明 |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetClientArea(ClientArea newClientArea,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetFormatSpecifier(FormatSpecifier newFormatSpecifier,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetSeparator(LineAttributes newSeparator,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetText(Text newText,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetTitle(Label newTitle,
org.eclipse.emf.common.notify.NotificationChain msgs) |
Legend |
copyInstance() |
static Block |
create()
A convenience method to create an initialized 'Legend' instance
|
static Block |
createDefault()
A convenience method to create an initialized 'Legend' instance
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
ClientArea |
getClientArea() |
Direction |
getDirection() |
int |
getEllipsis() |
FormatSpecifier |
getFormatSpecifier() |
int |
getHorizontalSpacing() |
LegendItemType |
getItemType() |
double |
getMaxPercent() |
Orientation |
getOrientation() |
Position |
getPosition() |
Size |
getPreferredSize(IDisplayServer xs,
Chart cm,
RunTimeContext rtc)
Computes and returns the size of the title block based on the text
content and its attributes
|
LineAttributes |
getSeparator() |
Text |
getText() |
Label |
getTitle() |
double |
getTitlePercent() |
Position |
getTitlePosition() |
int |
getVerticalSpacing() |
double |
getWrappingSize() |
boolean |
isCustom()
Note: Manually written
|
boolean |
isLegend()
Note: Manually written
|
boolean |
isSetDirection() |
boolean |
isSetEllipsis() |
boolean |
isSetHorizontalSpacing() |
boolean |
isSetItemType() |
boolean |
isSetMaxPercent() |
boolean |
isSetOrientation() |
boolean |
isSetPosition() |
boolean |
isSetShowPercent() |
boolean |
isSetShowTotal() |
boolean |
isSetShowValue() |
boolean |
isSetTitlePercent() |
boolean |
isSetTitlePosition() |
boolean |
isSetVerticalSpacing() |
boolean |
isSetWrappingSize() |
boolean |
isShowPercent() |
boolean |
isShowTotal() |
boolean |
isShowValue() |
void |
setClientArea(ClientArea newClientArea) |
void |
setDirection(Direction newDirection) |
void |
setEllipsis(int newEllipsis) |
void |
setFormatSpecifier(FormatSpecifier newFormatSpecifier) |
void |
setHorizontalSpacing(int newHorizontalSpacing) |
void |
setItemType(LegendItemType newItemType) |
void |
setMaxPercent(double newMaxPercent) |
void |
setOrientation(Orientation newOrientation) |
void |
setPosition(Position newPosition) |
void |
setSeparator(LineAttributes newSeparator) |
void |
setShowPercent(boolean newShowPercent) |
void |
setShowTotal(boolean newShowTotal) |
void |
setShowValue(boolean newShowValue) |
void |
setText(Text newText) |
void |
setTitle(Label newTitle) |
void |
setTitlePercent(double newTitlePercent) |
void |
setTitlePosition(Position newTitlePosition) |
void |
setVerticalSpacing(int newVerticalSpacing) |
void |
setWrappingSize(double newWrappingSize) |
java.lang.String |
toString() |
void |
unsetDirection() |
void |
unsetEllipsis() |
void |
unsetHorizontalSpacing() |
void |
unsetItemType() |
void |
unsetMaxPercent() |
void |
unsetOrientation() |
void |
unsetPosition() |
void |
unsetShowPercent() |
void |
unsetShowTotal() |
void |
unsetShowValue() |
void |
unsetTitlePercent() |
void |
unsetTitlePosition() |
void |
unsetVerticalSpacing() |
void |
unsetWrappingSize() |
void |
updateLayout(Chart cm)
Update the legend's block relationship in the hierarchy w.r.t. the chart model
|
add, basicSetBackground, basicSetBounds, basicSetCursor, basicSetInsets, basicSetMinSize, basicSetOutline, children, getAnchor, getBackground, getBounds, getChildren, getColumn, getColumnspan, getCursor, getHeightHint, getInsets, getMinSize, getOutline, getRow, getRowspan, getStretch, getTriggers, getWidthHint, isPlot, isSetAnchor, isSetColumn, isSetColumnspan, isSetHeightHint, isSetRow, isSetRowspan, isSetStretch, isSetVisible, isSetWidthHint, isText, isTitle, isVisible, remove, setAnchor, setBackground, setBounds, setColumn, setColumnspan, setCursor, setHeightHint, setInsets, setMinSize, setOutline, setRow, setRowspan, setStretch, setVisible, setWidthHint, unsetAnchor, unsetColumn, unsetColumnspan, unsetHeightHint, unsetRow, unsetRowspan, unsetStretch, unsetVisible, unsetWidthHinteAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnsetadd, children, getAnchor, getBackground, getBounds, getChildren, getColumn, getColumnspan, getCursor, getHeightHint, getInsets, getMinSize, getOutline, getRow, getRowspan, getStretch, getTriggers, getWidthHint, isPlot, isSetAnchor, isSetColumn, isSetColumnspan, isSetHeightHint, isSetRow, isSetRowspan, isSetStretch, isSetVisible, isSetWidthHint, isText, isTitle, isVisible, remove, setAnchor, setBackground, setBounds, setColumn, setColumnspan, setCursor, setHeightHint, setInsets, setMinSize, setOutline, setRow, setRowspan, setStretch, setVisible, setWidthHint, unsetAnchor, unsetColumn, unsetColumnspan, unsetHeightHint, unsetRow, unsetRowspan, unsetStretch, unsetVisible, unsetWidthHintpublic int getHorizontalSpacing()
getHorizontalSpacing 在接口中 LegendLegend.isSetHorizontalSpacing(),
Legend.unsetHorizontalSpacing(),
Legend.setHorizontalSpacing(int),
LayoutPackage.getLegend_HorizontalSpacing()public void setHorizontalSpacing(int newHorizontalSpacing)
setHorizontalSpacing 在接口中 LegendnewHorizontalSpacing - the new value of the 'Horizontal Spacing' attribute.Legend.isSetHorizontalSpacing(),
Legend.unsetHorizontalSpacing(),
Legend.getHorizontalSpacing()public void unsetHorizontalSpacing()
public boolean isSetHorizontalSpacing()
isSetHorizontalSpacing 在接口中 LegendLegend.unsetHorizontalSpacing(),
Legend.getHorizontalSpacing(),
Legend.setHorizontalSpacing(int)public int getVerticalSpacing()
getVerticalSpacing 在接口中 LegendLegend.isSetVerticalSpacing(),
Legend.unsetVerticalSpacing(),
Legend.setVerticalSpacing(int),
LayoutPackage.getLegend_VerticalSpacing()public void setVerticalSpacing(int newVerticalSpacing)
setVerticalSpacing 在接口中 LegendnewVerticalSpacing - the new value of the 'Vertical Spacing' attribute.Legend.isSetVerticalSpacing(),
Legend.unsetVerticalSpacing(),
Legend.getVerticalSpacing()public void unsetVerticalSpacing()
public boolean isSetVerticalSpacing()
isSetVerticalSpacing 在接口中 LegendLegend.unsetVerticalSpacing(),
Legend.getVerticalSpacing(),
Legend.setVerticalSpacing(int)public ClientArea getClientArea()
getClientArea 在接口中 LegendLegend.setClientArea(ClientArea),
LayoutPackage.getLegend_ClientArea()public org.eclipse.emf.common.notify.NotificationChain basicSetClientArea(ClientArea newClientArea, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setClientArea(ClientArea newClientArea)
setClientArea 在接口中 LegendnewClientArea - the new value of the 'Client Area' containment reference.Legend.getClientArea()public Text getText()
getText 在接口中 LegendLegend.setText(Text),
LayoutPackage.getLegend_Text()public org.eclipse.emf.common.notify.NotificationChain basicSetText(Text newText, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setText(Text newText)
setText 在接口中 LegendnewText - the new value of the 'Text' containment reference.Legend.getText()public Orientation getOrientation()
getOrientation 在接口中 LegendOrientation,
Legend.isSetOrientation(),
Legend.unsetOrientation(),
Legend.setOrientation(Orientation),
LayoutPackage.getLegend_Orientation()public void setOrientation(Orientation newOrientation)
setOrientation 在接口中 LegendnewOrientation - the new value of the 'Orientation' attribute.Orientation,
Legend.isSetOrientation(),
Legend.unsetOrientation(),
Legend.getOrientation()public void unsetOrientation()
public boolean isSetOrientation()
isSetOrientation 在接口中 LegendLegend.unsetOrientation(),
Legend.getOrientation(),
Legend.setOrientation(Orientation)public Direction getDirection()
getDirection 在接口中 LegendDirection,
Legend.isSetDirection(),
Legend.unsetDirection(),
Legend.setDirection(Direction),
LayoutPackage.getLegend_Direction()public void setDirection(Direction newDirection)
setDirection 在接口中 LegendnewDirection - the new value of the 'Direction' attribute.Direction,
Legend.isSetDirection(),
Legend.unsetDirection(),
Legend.getDirection()public void unsetDirection()
public boolean isSetDirection()
isSetDirection 在接口中 LegendLegend.unsetDirection(),
Legend.getDirection(),
Legend.setDirection(Direction)public LineAttributes getSeparator()
getSeparator 在接口中 LegendLegend.setSeparator(LineAttributes),
LayoutPackage.getLegend_Separator()public org.eclipse.emf.common.notify.NotificationChain basicSetSeparator(LineAttributes newSeparator, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSeparator(LineAttributes newSeparator)
setSeparator 在接口中 LegendnewSeparator - the new value of the 'Separator' containment reference.Legend.getSeparator()public Position getPosition()
getPosition 在接口中 LegendPosition,
Legend.isSetPosition(),
Legend.unsetPosition(),
Legend.setPosition(Position),
LayoutPackage.getLegend_Position()public void setPosition(Position newPosition)
setPosition 在接口中 LegendnewPosition - the new value of the 'Position' attribute.Position,
Legend.isSetPosition(),
Legend.unsetPosition(),
Legend.getPosition()public void unsetPosition()
public boolean isSetPosition()
isSetPosition 在接口中 LegendLegend.unsetPosition(),
Legend.getPosition(),
Legend.setPosition(Position)public LegendItemType getItemType()
getItemType 在接口中 LegendLegendItemType,
Legend.isSetItemType(),
Legend.unsetItemType(),
Legend.setItemType(LegendItemType),
LayoutPackage.getLegend_ItemType()public void setItemType(LegendItemType newItemType)
setItemType 在接口中 LegendnewItemType - the new value of the 'Item Type' attribute.LegendItemType,
Legend.isSetItemType(),
Legend.unsetItemType(),
Legend.getItemType()public void unsetItemType()
public boolean isSetItemType()
isSetItemType 在接口中 LegendLegend.unsetItemType(),
Legend.getItemType(),
Legend.setItemType(LegendItemType)public Label getTitle()
getTitle 在接口中 LegendLegend.setTitle(Label),
LayoutPackage.getLegend_Title()public org.eclipse.emf.common.notify.NotificationChain basicSetTitle(Label newTitle, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setTitle(Label newTitle)
setTitle 在接口中 LegendnewTitle - the new value of the 'Title' containment reference.Legend.getTitle()public Position getTitlePosition()
getTitlePosition 在接口中 LegendPosition,
Legend.isSetTitlePosition(),
Legend.unsetTitlePosition(),
Legend.setTitlePosition(Position),
LayoutPackage.getLegend_TitlePosition()public void setTitlePosition(Position newTitlePosition)
setTitlePosition 在接口中 LegendnewTitlePosition - the new value of the 'Title Position' attribute.Position,
Legend.isSetTitlePosition(),
Legend.unsetTitlePosition(),
Legend.getTitlePosition()public void unsetTitlePosition()
public boolean isSetTitlePosition()
isSetTitlePosition 在接口中 LegendLegend.unsetTitlePosition(),
Legend.getTitlePosition(),
Legend.setTitlePosition(Position)public boolean isShowValue()
isShowValue 在接口中 LegendLegend.isSetShowValue(),
Legend.unsetShowValue(),
Legend.setShowValue(boolean),
LayoutPackage.getLegend_ShowValue()public void setShowValue(boolean newShowValue)
setShowValue 在接口中 LegendnewShowValue - the new value of the 'Show Value' attribute.Legend.isSetShowValue(),
Legend.unsetShowValue(),
Legend.isShowValue()public void unsetShowValue()
public boolean isSetShowValue()
isSetShowValue 在接口中 LegendLegend.unsetShowValue(),
Legend.isShowValue(),
Legend.setShowValue(boolean)public boolean isShowPercent()
isShowPercent 在接口中 LegendLegend.isSetShowPercent(),
Legend.unsetShowPercent(),
Legend.setShowPercent(boolean),
LayoutPackage.getLegend_ShowPercent()public void setShowPercent(boolean newShowPercent)
setShowPercent 在接口中 LegendnewShowPercent - the new value of the 'Show Percent' attribute.Legend.isSetShowPercent(),
Legend.unsetShowPercent(),
Legend.isShowPercent()public void unsetShowPercent()
public boolean isSetShowPercent()
isSetShowPercent 在接口中 LegendLegend.unsetShowPercent(),
Legend.isShowPercent(),
Legend.setShowPercent(boolean)public boolean isShowTotal()
isShowTotal 在接口中 LegendLegend.isSetShowTotal(),
Legend.unsetShowTotal(),
Legend.setShowTotal(boolean),
LayoutPackage.getLegend_ShowTotal()public void setShowTotal(boolean newShowTotal)
setShowTotal 在接口中 LegendnewShowTotal - the new value of the 'Show Total' attribute.Legend.isSetShowTotal(),
Legend.unsetShowTotal(),
Legend.isShowTotal()public void unsetShowTotal()
public boolean isSetShowTotal()
isSetShowTotal 在接口中 LegendLegend.unsetShowTotal(),
Legend.isShowTotal(),
Legend.setShowTotal(boolean)public double getWrappingSize()
getWrappingSize 在接口中 LegendLegend.isSetWrappingSize(),
Legend.unsetWrappingSize(),
Legend.setWrappingSize(double),
LayoutPackage.getLegend_WrappingSize()public void setWrappingSize(double newWrappingSize)
setWrappingSize 在接口中 LegendnewWrappingSize - the new value of the 'Wrapping Size' attribute.Legend.isSetWrappingSize(),
Legend.unsetWrappingSize(),
Legend.getWrappingSize()public void unsetWrappingSize()
public boolean isSetWrappingSize()
isSetWrappingSize 在接口中 LegendLegend.unsetWrappingSize(),
Legend.getWrappingSize(),
Legend.setWrappingSize(double)public double getMaxPercent()
getMaxPercent 在接口中 LegendLegend.isSetMaxPercent(),
Legend.unsetMaxPercent(),
Legend.setMaxPercent(double),
LayoutPackage.getLegend_MaxPercent()public void setMaxPercent(double newMaxPercent)
setMaxPercent 在接口中 LegendnewMaxPercent - the new value of the 'Max Percent' attribute.Legend.isSetMaxPercent(),
Legend.unsetMaxPercent(),
Legend.getMaxPercent()public void unsetMaxPercent()
public boolean isSetMaxPercent()
isSetMaxPercent 在接口中 LegendLegend.unsetMaxPercent(),
Legend.getMaxPercent(),
Legend.setMaxPercent(double)public double getTitlePercent()
getTitlePercent 在接口中 LegendLegend.isSetTitlePercent(),
Legend.unsetTitlePercent(),
Legend.setTitlePercent(double),
LayoutPackage.getLegend_TitlePercent()public void setTitlePercent(double newTitlePercent)
setTitlePercent 在接口中 LegendnewTitlePercent - the new value of the 'Title Percent' attribute.Legend.isSetTitlePercent(),
Legend.unsetTitlePercent(),
Legend.getTitlePercent()public void unsetTitlePercent()
public boolean isSetTitlePercent()
isSetTitlePercent 在接口中 LegendLegend.unsetTitlePercent(),
Legend.getTitlePercent(),
Legend.setTitlePercent(double)public int getEllipsis()
getEllipsis 在接口中 LegendLegend.isSetEllipsis(),
Legend.unsetEllipsis(),
Legend.setEllipsis(int),
LayoutPackage.getLegend_Ellipsis()public void setEllipsis(int newEllipsis)
setEllipsis 在接口中 LegendnewEllipsis - the new value of the 'Ellipsis' attribute.Legend.isSetEllipsis(),
Legend.unsetEllipsis(),
Legend.getEllipsis()public void unsetEllipsis()
unsetEllipsis 在接口中 LegendLegend.isSetEllipsis(),
Legend.getEllipsis(),
Legend.setEllipsis(int)public boolean isSetEllipsis()
isSetEllipsis 在接口中 LegendLegend.unsetEllipsis(),
Legend.getEllipsis(),
Legend.setEllipsis(int)public FormatSpecifier getFormatSpecifier()
getFormatSpecifier 在接口中 LegendLegend.setFormatSpecifier(FormatSpecifier),
LayoutPackage.getLegend_FormatSpecifier()public org.eclipse.emf.common.notify.NotificationChain basicSetFormatSpecifier(FormatSpecifier newFormatSpecifier, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setFormatSpecifier(FormatSpecifier newFormatSpecifier)
setFormatSpecifier 在接口中 LegendnewFormatSpecifier - the new value of the 'Format Specifier' containment reference.Legend.getFormatSpecifier()public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove 在类中 BlockImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public boolean isLegend()
public boolean isCustom()
public final Size getPreferredSize(IDisplayServer xs, Chart cm, RunTimeContext rtc) throws ChartException
BlockgetPreferredSize 在接口中 BlockgetPreferredSize 在类中 BlockImplxs - The Xserver used in computing the scaling factor (pixels =>
points)cm - The chart model instance (if needed)ChartExceptionpublic static final Block create()
public static final Block createDefault()
public final void updateLayout(Chart cm)
LegendupdateLayout 在接口中 Legendpublic Legend copyInstance()
copyInstance 在接口中 IChartObjectcopyInstance 在接口中 BlockcopyInstance 在接口中 LegendcopyInstance 在类中 BlockImplCopyright © 2005-2008 Actuate Corp. All rights reserved.