protected void createQuickBox() {

        m_quickSearch = new CmsTextBox();
        // m_quickFilter.setVisible(hasQuickFilter());
        m_quickSearch.getElement().getStyle().setFloat(Float.RIGHT);
        m_quickSearch.setTriggerChangeOnKeyPress(true);
        m_quickSearch.setGhostValue(Messages.get().key(Messages.GUI_QUICK_FINDER_SEARCH_0), true);
        m_quickSearch.setGhostModeClear(true);
        m_options.insert(m_quickSearch, 0);
        m_searchButton = new CmsPushButton();
        m_searchButton.setImageClass(I_CmsButton.SEARCH);
        m_searchButton.setButtonStyle(ButtonStyle.FONT_ICON, null);
        m_searchButton.setSize(Size.small);
        m_searchButton.getElement().getStyle().setFloat(Style.Float.RIGHT);
        m_searchButton.getElement().getStyle().setMarginTop(4, Unit.PX);
        m_searchButton.getElement().getStyle().setMarginLeft(4, Unit.PX);
        m_options.insert(m_searchButton, 0);
        m_quickSearch.addValueChangeHandler(new CategoryValueChangeHandler());

        m_filterTimer = new Timer() {

            @Override
            public void run() {

                quickSearch();

            }
        };
        m_searchButton.setTitle(Messages.get().key(Messages.GUI_QUICK_FINDER_SEARCH_0));

        m_searchButton.addClickHandler(new ClickHandler() {

            public void onClick(ClickEvent arg0) {

                quickSearch();
            }
        });
    }
protected void createQuickBox ( ) { m_quickSearch = new CmsTextBox ( ) ; m_quickSearch . getElement ( ) . getStyle ( ) . setFloat ( Float . RIGHT ) ; m_quickSearch . setTriggerChangeOnKeyPress ( true ) ; m_quickSearch . setGhostValue ( Messages . get ( ) . key ( Messages . GUI_QUICK_FINDER_SEARCH_0 ) , true ) ; m_quickSearch . setGhostModeClear ( true ) ; m_options . insert ( m_quickSearch , 0 ) ; m_searchButton = new CmsPushButton ( ) ; m_searchButton . setImageClass ( I_CmsButton . SEARCH ) ; m_searchButton . setButtonStyle ( ButtonStyle . FONT_ICON , null ) ; m_searchButton . setSize ( Size . small ) ; m_searchButton . getElement ( ) . getStyle ( ) . setFloat ( Style . Float . RIGHT ) ; m_searchButton . getElement ( ) . getStyle ( ) . setMarginTop ( 4 , Unit . PX ) ; m_searchButton . getElement ( ) . getStyle ( ) . setMarginLeft ( 4 , Unit . PX ) ; m_options . insert ( m_searchButton , 0 ) ; m_quickSearch . addValueChangeHandler ( new CategoryValueChangeHandler ( ) ) ; m_filterTimer = new Timer ( ) { @ Override public void run ( ) { quickSearch ( ) ; } } ; m_searchButton . setTitle ( Messages . get ( ) . key ( Messages . GUI_QUICK_FINDER_SEARCH_0 ) ) ; m_searchButton . addClickHandler ( new ClickHandler ( ) { public void onClick ( ClickEvent arg0 ) { quickSearch ( ) ; } } ) ; }
Creates the quick search/finder box.<p>