new NoticeBoardItem(config)
A notice board item that represents a layer in an swd
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Configuration for this object. The config supplied directly extends the control |
Extends
Members
displayIndex
Properties:
Name | Type | Description |
---|---|---|
displayIndex |
number | The display order of this layer |
- Inherited From:
events
Properties:
Name | Type | Description |
---|---|---|
events |
Cadcorp.Util.Events | The events object |
- Inherited From:
localKnowledgeID
Properties:
Name | Type | Description |
---|---|---|
localKnowledgeID |
number | The ID of the local knowledge used by the current noticeboard |
- Inherited From:
(protected) m_searchLocation
Properties:
Name | Type | Description |
---|---|---|
m_searchLocation |
Cadcorp.UI.NoticeBoard.Location | The location of the current search |
- Inherited From:
name
Properties:
Name | Type | Description |
---|---|---|
name |
string | The name of this layer |
overlayIndex
Properties:
Name | Type | Description |
---|---|---|
overlayIndex |
number | The index of this layer in the list of layers |
searchEnabled
Properties:
Name | Type | Description |
---|---|---|
searchEnabled |
boolean | Set to true to enable the search, defaults to true |
- Inherited From:
webServiceUrl
Properties:
Name | Type | Description |
---|---|---|
webServiceUrl |
string | The base url to the web service |
- Inherited From:
Methods
doLocalKnowledge(currentLocation)
Does a local knowledge query for this layer
Parameters:
Name | Type | Description |
---|---|---|
currentLocation |
Cadcorp.UI.NoticeBoard.Location | The current location to use for this query |
- Inherited From:
Events
beforeLK
Before Local knowledge started
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
object |
Cadcorp.UI.NoticeBoard.NoticeBoardItem | The sender of the event |
LKCompleted
Local knowledge completed
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
object |
Cadcorp.UI.NoticeBoard.NoticeBoardItem | The sender of the event |
LKError
Local knowledge error
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
object |
Cadcorp.UI.NoticeBoard.NoticeBoardItem | The sender of the event |
LKNull
Local knowledge search criteria are null
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
object |
Cadcorp.UI.NoticeBoard.NoticeBoardItem | The sender of the event |
LKSuccess
Local knowledge success
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
object |
Cadcorp.UI.NoticeBoard.NoticeBoardItem | The sender of the event |
data |
Object | The returned data |