@Deprecated public class IlpStyleContext extends Object implements Serializable, Cloneable
null
value.Modifier and Type | Field and Description |
---|---|
protected List |
allObjects
Deprecated.
|
protected ilog.cpl.style.internal.IlpStyleContextValue |
attribute
Deprecated.
Attribute
|
static int |
ATTRIBUTE_STYLE
Deprecated.
|
static int |
CLASS_STYLE
Deprecated.
|
protected boolean |
computed
Deprecated.
Indicates whether the style is computed (not read from storage)
|
static int |
DEFAULT
Deprecated.
Style type definitions
|
static int |
GRAPHIC_VIEW_STYLE
Deprecated.
|
protected IlpGraphicView |
graphicView
Deprecated.
Business object
|
protected int |
hashCodeCache
Deprecated.
|
protected Object |
ilpClass
Deprecated.
IlpClass - may be a Reference in case of bizz class style, or an
IlpClass in case of BO or RO styles
|
static int |
ILPCLASS_STYLE
Deprecated.
|
protected Object |
ilpObject
Deprecated.
Business object - may be an IlpStyleContextValue in case of BO style,
or the IlpObject itself in case of RO style
|
static int |
ILPOBJECT_STYLE
Deprecated.
|
protected Object |
ilpObjectIdentifier
Deprecated.
Business object identifier
|
static int |
JAVA_CLASS_STYLE
Deprecated.
|
protected Class |
javaClass
Deprecated.
Java class
|
protected boolean |
modified
Deprecated.
Indicates if the style has been modified
|
protected String |
name
Deprecated.
Name of style
|
static int |
NAMED_STYLE
Deprecated.
|
static String |
NO_NAME
Deprecated.
Default name value
|
protected boolean |
persistent
Deprecated.
Indicates whether the style is persistent
|
static int |
REPRESENTATION_OBJECT_ATTRIBUTE_STYLE
Deprecated.
|
static int |
REPRESENTATION_OBJECT_STYLE
Deprecated.
|
protected Object |
representationObject
Deprecated.
Representation object - may be an IlpStyleContextValue in case of RO style,
or the IlpRepresentationObject itself in case of graphic style
|
protected boolean |
shared
Deprecated.
Indicates whether the style is a shared style
|
protected IlpStorageStyleIdentifier |
styleIdentifier
Deprecated.
Style identifier.
|
protected String |
styleIdentifierName
Deprecated.
|
protected int |
styleType
Deprecated.
Current style type.
|
Constructor and Description |
---|
IlpStyleContext()
Deprecated.
Constructor.
|
IlpStyleContext(Class javaClass,
boolean classStyle,
ReferenceQueue q)
Deprecated.
Constructor.
|
IlpStyleContext(Class jc,
ReferenceQueue q)
Deprecated.
Constructor.
|
IlpStyleContext(IlpAttribute attr,
IlpClass clazz,
ReferenceQueue q)
Deprecated.
Constructor.
|
IlpStyleContext(IlpAttribute attr,
ReferenceQueue q)
Deprecated.
Constructor.
|
IlpStyleContext(IlpClass clazz,
ReferenceQueue q)
Deprecated.
Constructor.
|
IlpStyleContext(IlpContext context,
IlpStorageStyleIdentifier id,
ReferenceQueue q)
Deprecated.
Creates a new style context based on the storage identifier information.
|
IlpStyleContext(IlpGraphicView view,
ReferenceQueue q)
Deprecated.
Constructor for an
IlpGraphicView . |
IlpStyleContext(IlpObject bo,
ReferenceQueue q)
Deprecated.
Constructor for an
IlpObject . |
IlpStyleContext(IlpRepresentationObject ro,
IlpAttribute attr,
ReferenceQueue q)
Deprecated.
Constructor for a representation object with attribute.
|
IlpStyleContext(IlpRepresentationObject ro,
ReferenceQueue q)
Deprecated.
Constructor for a representation object.
|
IlpStyleContext(String name)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Returns a copy of this style context.
|
IlpStorageStyleIdentifier |
createStyleIdentifier()
Deprecated.
Creates an identifier which is able to identify a style in
the underlying storage mechanism.
|
void |
debug()
Deprecated.
Print out the contents of this instance.
|
boolean |
equals(Object other)
Deprecated.
Tests
IlpStyleContext s for equality. |
IlpAttribute |
getAttribute()
Deprecated.
For a style associated with an attribute, returns the attribute.
|
IlpAttributeValueHolder |
getAttributeValueHolder()
Deprecated.
For a style associated with an attribute value holder, returns the holder.
|
IlpGraphicView |
getGraphicView()
Deprecated.
Returns graphic view.
|
IlpClass |
getIlpClass()
Deprecated.
For a style associated with a dynamic class, returns the class.
|
IlpObject |
getIlpObject()
Deprecated.
For a style associated with a dynamic object, returns the object.
|
Object |
getIlpObjectIdentifier()
Deprecated.
For a style associated with a dynamic object, returns the object identifier.
|
Class |
getJavaClass()
Deprecated.
For a style associated with a Java class, returns the class.
|
String |
getName()
Deprecated.
Gets name of style.
|
IlpRepresentationObject |
getRepresentationObject()
Deprecated.
For a style associated with a representation object, returns the object.
|
IlpStorageStyleIdentifier |
getStyleIdentifier()
Deprecated.
Generates style identifier for the style.
|
int |
getStyleType()
Deprecated.
Gets the type of the style.
|
int |
hashCode()
Deprecated.
Support for hashmap.
|
protected int |
initHashCode()
Deprecated.
Initializes the hash code cache.
|
protected void |
initializeFromStorage(IlpContext context,
IlpStorageStyleIdentifier id,
ReferenceQueue q)
Deprecated.
Initializes all fields from the Storage identifier
|
boolean |
isComputed()
Deprecated.
Checks whether the style has been computed.
|
boolean |
isModified()
Deprecated.
Checks whether the style has been modified.
|
boolean |
isPersistent()
Deprecated.
Checks the persistence indicator for the style.
|
boolean |
isShared()
Deprecated.
Checks whether the style is shared.
|
boolean |
isStyleRemovable()
Deprecated.
Returns is the style can be cleaned up or not.
|
void |
registerBusinessObject(IlpObject bo,
ReferenceQueue queue)
Deprecated.
|
ilog.cpl.style.internal.IlpStyleContextValue |
retrieveBusinessObject()
Deprecated.
|
void |
setComputed(boolean computed)
Deprecated.
Indicates whether the style has been computed.
|
void |
setGraphicView(IlpGraphicView view)
Deprecated.
Sets the graphic view afterwards.
|
void |
setModified(boolean modified)
Deprecated.
Sets the modification indicator for the style.
|
void |
setPersistence(boolean persistent)
Deprecated.
Sets the persistence indicator for the style.
|
void |
setRepresentationObject(IlpRepresentationObject ro)
Deprecated.
Sets the representation object afterwards, used by JTGO.
|
void |
setShared(boolean shared)
Deprecated.
Defines whether the style is shared.
|
String |
toString()
Deprecated.
Returns the
String representation of this IlpStyleContext . |
protected void |
updateBusinessObject(Object bo)
Deprecated.
|
protected boolean shared
protected boolean persistent
protected boolean computed
protected boolean modified
public static final String NO_NAME
protected int styleType
public static final int DEFAULT
public static final int NAMED_STYLE
public static final int JAVA_CLASS_STYLE
public static final int ILPCLASS_STYLE
public static final int ATTRIBUTE_STYLE
public static final int CLASS_STYLE
public static final int ILPOBJECT_STYLE
public static final int REPRESENTATION_OBJECT_STYLE
public static final int REPRESENTATION_OBJECT_ATTRIBUTE_STYLE
public static final int GRAPHIC_VIEW_STYLE
protected String name
protected Class javaClass
protected Object ilpClass
protected ilog.cpl.style.internal.IlpStyleContextValue attribute
protected Object ilpObject
protected Object ilpObjectIdentifier
protected transient Object representationObject
protected transient IlpGraphicView graphicView
protected transient IlpStorageStyleIdentifier styleIdentifier
null
.protected transient String styleIdentifierName
protected transient int hashCodeCache
protected List allObjects
public IlpStyleContext()
public IlpStyleContext(String name)
name
- Name of style.public IlpStyleContext(Class jc, ReferenceQueue q)
jc
- Java class to which the style belongs.public IlpStyleContext(Class javaClass, boolean classStyle, ReferenceQueue q)
javaClass
- Java class to which the style belongs.classStyle
- Indicates whether the style is a class style.public IlpStyleContext(IlpClass clazz, ReferenceQueue q)
clazz
- IlpClass
to which the style belongs.public IlpStyleContext(IlpAttribute attr, ReferenceQueue q)
IlpClass
linked in the attribute will also be used.attr
- Attribute to which the style belongs.public IlpStyleContext(IlpObject bo, ReferenceQueue q)
IlpObject
.bo
- Business object.public IlpStyleContext(IlpRepresentationObject ro, ReferenceQueue q)
ro
- Representation object.public IlpStyleContext(IlpRepresentationObject ro, IlpAttribute attr, ReferenceQueue q)
ro
- Representation object.attr
- Attribute linked to the representation object.public IlpStyleContext(IlpGraphicView view, ReferenceQueue q)
IlpGraphicView
.view
- Graphic view.public IlpStyleContext(IlpAttribute attr, IlpClass clazz, ReferenceQueue q)
attr
- Attribute to which the style belongs.clazz
- IlpClass
where the attribute is accessiblepublic IlpStyleContext(IlpContext context, IlpStorageStyleIdentifier id, ReferenceQueue q)
public Object clone()
public int getStyleType()
public void setShared(boolean shared)
shared
- Boolean to indicate whether the style is shared.public boolean isShared()
public void setPersistence(boolean persistent)
persistent
is set to
true
, the style will be saved. If persistent
is set to
false
, the style will not be stored.persistent
- Boolean indicating whether the style is persistent.public boolean isPersistent()
public void setComputed(boolean computed)
computed
is set to
true
, the style has been automatically created.computed
- Boolean indicating whether the style is computed.public boolean isComputed()
public void setModified(boolean modified)
modified
is set to
true
, the style has been modified since it was read from
storage or created automatically.modified
- Boolean indicating whether the style has been modified.public boolean isModified()
public IlpStorageStyleIdentifier getStyleIdentifier()
public IlpStorageStyleIdentifier createStyleIdentifier()
public String getName()
public Class getJavaClass()
IlpObject, IlpAttribute, IlpRepresentationObject and
IlpRepresentationObject/IlpAttribute
styles.null
if
the style is not a Java class style.public IlpClass getIlpClass()
IlpObject
and IlpClass
styles.null
if the style is not an IlpClass
style.public IlpAttribute getAttribute()
IlpAttribute
and IlpRepresentationObject/IlpAttribute
styles.null
if
the style is not an attribute style.public IlpAttributeValueHolder getAttributeValueHolder()
IlpObject, IlpRepresentationObject
and
IlpRepresentationObject/IlpAttribute
styles.public IlpObject getIlpObject()
IlpObject
style where the local IlpObject
is not set,
getIlpObjectIdentifier
should be used instead to access the identifier for
the object.
Applies to IlpObject
and IlpRepresentationObject
styles.public Object getIlpObjectIdentifier()
IlpObject
and IlpRepresentationObject
styles.public IlpRepresentationObject getRepresentationObject()
IlpRepresentationObject
and
IlpRepresentationObject/IlpAttribute
styles.public IlpGraphicView getGraphicView()
public void setRepresentationObject(IlpRepresentationObject ro)
public void setGraphicView(IlpGraphicView view)
public boolean equals(Object other)
IlpStyleContext
s for equality.protected int initHashCode()
public int hashCode()
public boolean isStyleRemovable()
public String toString()
String
representation of this IlpStyleContext
.public void debug()
protected void initializeFromStorage(IlpContext context, IlpStorageStyleIdentifier id, ReferenceQueue q)
protected void updateBusinessObject(Object bo)
public void registerBusinessObject(IlpObject bo, ReferenceQueue queue)
public ilog.cpl.style.internal.IlpStyleContextValue retrieveBusinessObject()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.