         attributedString.drawAtPoint(stringLocation)
     }
     
-    override func mouseDown(theEvent: NSEvent) {
+    override public func mouseDown(theEvent: NSEvent) {
         if popover == nil {
             popover = NSPopover.makePopoverFor(self.content)
             popover.delegate = self

    }
    
    var trackingArea: NSTrackingArea!
    override func updateTrackingAreas() {
        super.updateTrackingAreas()
        if trackingArea != nil {
            self.removeTrackingArea(trackingArea)

    }
    
    
    override public func drawRect(dirtyRect: NSRect) {
        var activeColor: NSColor!
        if mouseInside || (popover != nil && popover!.shown){
            activeColor = primaryColor
