@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Label extends Shape implements Serializable, IObject, IMutable
Shape.Details
Modifier and Type | Field and Description |
---|---|
protected String |
anchor |
static String |
ANCHOR |
protected String |
baselineShift |
static String |
BASELINESHIFT |
protected String |
decoration |
static String |
DECORATION |
protected String |
direction |
static String |
DIRECTION |
static String |
EVENT_FILTER |
static Set<String> |
FIELDS |
protected Integer |
glyphOrientationVertical |
static String |
GLYPHORIENTATIONVERTICAL |
static String |
GROUP_FILTER |
static String |
OWNER_FILTER |
static String |
PERMS_FILTER |
protected String |
textValue |
static String |
TEXTVALUE |
protected String |
writingMode |
static String |
WRITINGMODE |
protected Double |
x |
static String |
X |
protected Double |
y |
static String |
Y |
_dynamicFields, _loaded, annotationLinks, ANNOTATIONLINKS, ANNOTATIONLINKSCOUNTPEROWNER, details, DETAILS, EVENT_FILTER_ANNOTATIONLINKS, fillColor, FILLCOLOR, fillRule, FILLRULE, fontFamily, FONTFAMILY, fontSize, FONTSIZE, fontStretch, FONTSTRETCH, fontStyle, FONTSTYLE, fontVariant, FONTVARIANT, fontWeight, FONTWEIGHT, g, G, GROUP_FILTER_ANNOTATIONLINKS, id, ID, locked, LOCKED, OWNER_FILTER_ANNOTATIONLINKS, PERMS_FILTER_ANNOTATIONLINKS, roi, ROI, strokeColor, STROKECOLOR, strokeDashArray, STROKEDASHARRAY, strokeDashOffset, STROKEDASHOFFSET, strokeLineCap, STROKELINECAP, strokeLineJoin, STROKELINEJOIN, strokeMiterLimit, STROKEMITERLIMIT, strokeWidth, STROKEWIDTH, theC, THEC, theT, THET, theZ, THEZ, transform, TRANSFORM, vectorEffect, VECTOREFFECT, version, VERSION, visibility, VISIBILITY
Modifier | Constructor and Description |
---|---|
|
Label() |
protected |
Label(Long id) |
|
Label(Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
Set<String> |
fields()
returns a Set of field names that belong to this class
|
String |
getAnchor()
Simple field ome.model.roi.Label.anchor (java.lang.String)
|
String |
getBaselineShift()
Simple field ome.model.roi.Label.baselineShift (java.lang.String)
|
String |
getDecoration()
Simple field ome.model.roi.Label.decoration (java.lang.String)
|
String |
getDirection()
Simple field ome.model.roi.Label.direction (java.lang.String)
|
Integer |
getGlyphOrientationVertical()
Simple field ome.model.roi.Label.glyphOrientationVertical (java.lang.Integer)
|
String |
getTextValue()
Simple field ome.model.roi.Label.textValue (java.lang.String)
|
String |
getWritingMode()
Simple field ome.model.roi.Label.writingMode (java.lang.String)
|
Double |
getX()
Simple field ome.model.roi.Label.x (java.lang.Double)
|
Double |
getY()
Simple field ome.model.roi.Label.y (java.lang.Double)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
Label |
newInstance() |
Label |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setAnchor(String anchor) |
void |
setBaselineShift(String baselineShift) |
void |
setDecoration(String decoration) |
void |
setDirection(String direction) |
void |
setGlyphOrientationVertical(Integer glyphOrientationVertical) |
void |
setTextValue(String textValue) |
void |
setWritingMode(String writingMode) |
void |
setX(Double x) |
void |
setY(Double y) |
protected void |
throwNullCollectionException(String propertyName) |
String |
toString() |
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
addShapeAnnotationLink, addShapeAnnotationLink, addShapeAnnotationLinkSet, clearAnnotationLinks, collectAnnotationLinks, eachLinkedAnnotation, errorIfUnloaded, findShapeAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getDetails, getFillColor, getFillRule, getFontFamily, getFontSize, getFontStretch, getFontStyle, getFontVariant, getFontWeight, getG, getGraphHolder, getId, getLocked, getRoi, getStrokeColor, getStrokeDashArray, getStrokeDashOffset, getStrokeLineCap, getStrokeLineJoin, getStrokeMiterLimit, getStrokeWidth, getTheC, getTheT, getTheZ, getTransform, getVectorEffect, getVersion, getVisibility, isLoaded, iterateAnnotationLinks, linkAnnotation, linkedAnnotationIterator, linkedAnnotationList, removeShapeAnnotationLink, removeShapeAnnotationLink, removeShapeAnnotationLinkSet, setAnnotationLinks, setAnnotationLinksCountPerOwner, setDetails, setFillColor, setFillRule, setFontFamily, setFontSize, setFontStretch, setFontStyle, setFontVariant, setFontWeight, setG, setId, setLocked, setRoi, setStrokeColor, setStrokeDashArray, setStrokeDashOffset, setStrokeLineCap, setStrokeLineJoin, setStrokeMiterLimit, setStrokeWidth, setTheC, setTheT, setTheZ, setTransform, setVectorEffect, setVersion, setVisibility, sizeOfAnnotationLinks, unlinkAnnotation, unmodifiableAnnotationLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, setVersion
getDetails, getGraphHolder, getId, isLoaded, setId
public static final String OWNER_FILTER
public static final String GROUP_FILTER
public static final String EVENT_FILTER
public static final String PERMS_FILTER
protected Double x
protected Double y
protected String textValue
protected String anchor
protected String decoration
protected String baselineShift
protected Integer glyphOrientationVertical
protected String direction
protected String writingMode
public static final String X
public static final String Y
public static final String TEXTVALUE
public static final String ANCHOR
public static final String DECORATION
public static final String BASELINESHIFT
public static final String GLYPHORIENTATIONVERTICAL
public static final String DIRECTION
public static final String WRITINGMODE
public Label()
protected Label(Long id)
public Label(Long id, boolean loaded)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Double getX()
public void setX(Double x)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Double getY()
public void setY(Double y)
@Fields(value={@Field(index=TOKENIZED),@Field(index=TOKENIZED,name="combined_fields")}) public String getTextValue()
public void setTextValue(String textValue)
@Fields(value={@Field(index=TOKENIZED),@Field(index=TOKENIZED,name="combined_fields")}) public String getAnchor()
public void setAnchor(String anchor)
@Fields(value={@Field(index=TOKENIZED),@Field(index=TOKENIZED,name="combined_fields")}) public String getDecoration()
public void setDecoration(String decoration)
@Fields(value={@Field(index=TOKENIZED),@Field(index=TOKENIZED,name="combined_fields")}) public String getBaselineShift()
public void setBaselineShift(String baselineShift)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Integer getGlyphOrientationVertical()
public void setGlyphOrientationVertical(Integer glyphOrientationVertical)
@Fields(value={@Field(index=TOKENIZED),@Field(index=TOKENIZED,name="combined_fields")}) public String getDirection()
public void setDirection(String direction)
@Fields(value={@Field(index=TOKENIZED),@Field(index=TOKENIZED,name="combined_fields")}) public String getWritingMode()
public void setWritingMode(String writingMode)
public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public Label newInstance()
public Label proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
acceptFilter
in class Shape
public Set<String> fields()
IObject
public Object retrieve(String field)
IObject
field
which match a field of this instance will be delegated to the accessors.
Otherwise, values will be retrieved from a lazy-loaded map filled by
calls to IObject.putAt(String, Object)
public void putAt(String field, Object value)
IObject
field
which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.public void unload()
IObject
protected void throwNullCollectionException(String propertyName)
throwNullCollectionException
in class Shape
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.