public class TLcyModelEncoderContext extends Object
ILcdModelEncoder
, more
specifically it defines the ILcdModel
it is about to encode.Constructor and Description |
---|
TLcyModelEncoderContext(ILcdModelEncoder aModelEncoder)
Creates a new
TLcyModelEncoderContext object for the given aModelEncoder . |
TLcyModelEncoderContext(ILcdModelEncoder aModelEncoder,
ILcdModel aModelToEncode)
Creates a new
TLcyModelEncoderContext object for the given aModelEncoder . |
TLcyModelEncoderContext(ILcdModelEncoder aModelEncoder,
ILcdModel aModelToEncode,
ILcdLayer aLayer,
ILcdView aView)
Creates a new
TLcyModelEncoderContext object for the given
aModelEncoder . |
Modifier and Type | Method and Description |
---|---|
ILcdLayer |
getLayer()
Returns the layer of the model that will be encoded.
|
ILcdModelEncoder |
getModelEncoder()
Returns the model encoder for which the properties need to be customized.
|
ILcdModel |
getModelToEncode()
Returns the model that the associated
model encoder will have to
encode. |
ILcdView |
getView()
Returns the view in which the model that will be encoded is displayed.
|
String |
toString() |
public TLcyModelEncoderContext(ILcdModelEncoder aModelEncoder)
TLcyModelEncoderContext
object for the given aModelEncoder
.
The model to encode is null
.aModelEncoder
- The ILcdModelEncoder
for which this object is the context.
This must not be null
.public TLcyModelEncoderContext(ILcdModelEncoder aModelEncoder, ILcdModel aModelToEncode)
TLcyModelEncoderContext
object for the given aModelEncoder
.aModelEncoder
- The ILcdModelEncoder
for which this object is the context.
This must not be null
.aModelToEncode
- The model that the encoder will have to encode. This is optional and can
be null
.public TLcyModelEncoderContext(ILcdModelEncoder aModelEncoder, ILcdModel aModelToEncode, ILcdLayer aLayer, ILcdView aView)
TLcyModelEncoderContext
object for the given
aModelEncoder
.aModelEncoder
- The ILcdModelEncoder
for which this object is the context.
This must not be null
.aModelToEncode
- The model that the encoder will have to encode. This is optional and can
be null
.aLayer
- The layer of aModelToEncode
. This is optional and can be null
aView
- The view in which the model that will be encoded is displayed. This is
optional and can be null
.public ILcdView getView()
null
.public ILcdLayer getLayer()
null
.public ILcdModelEncoder getModelEncoder()
null
.public ILcdModel getModelToEncode()
model encoder
will have to
encode.null
.