Class: BookmarkUI

Cadcorp.UI.BookmarkUI

new BookmarkUI(config)

Instances of this class create a ui for bookmarks
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

bookmark

Properties:
Name Type Description
bookmark Cadcorp.UI.Bookmark The bookmark attached to this ui

bookmarkRowCssClass

Properties:
Name Type Description
bookmarkRowCssClass string The css class to apply to this ui

deleteImageUrl

Properties:
Name Type Description
m_deleteImageUrl string The url to the image to use to delete a bookmark

homeText

Properties:
Name Type Description
homeText string Text to use for home location

visible

Properties:
Name Type Description
visible boolean True to make this ui visible, otherwise false

Methods

deselect()

DeSelects this bookmark UI

destroy()

Destroys this bookmark UI

getUI() → {Object}

Gets the jQuery object for this UI element
Returns:
The jQuery object for this UI element
Type
Object

setClass(The)

Sets the css class for this Ui element. This allows containers to set alternating styles
Parameters:
Name Type Description
The string css class for this Ui element

setVisibility(tre)

Sets the visibility for this Ui element.
Parameters:
Name Type Description
tre boolean to make this element visible, otherwise false

Events

bookmarkClicked

Bookmark clicked event
Type:
  • Object
Properties:
Name Type Description
object Cadcorp.UI.BookmarkUI The sender of the event

bookmarkDeleted

Bookmark deleted event
Type:
  • Object
Properties:
Name Type Description
object Cadcorp.UI.BookmarkUI The sender of the event