NS_IMETHODIMP nsListBoxObject::EnsureIndexIsVisible(int32_t aRowIndex) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->EnsureIndexIsVisible(aRowIndex); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::EnsureIndexIsVisible(PRInt32 aRowIndex) { nsListBoxBodyFrame* body = GetListBoxBody(PR_TRUE); if (body) return body->EnsureIndexIsVisible(aRowIndex); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::GetNumberOfVisibleRows(PRInt32 *aResult) { nsListBoxBodyFrame* body = GetListBoxBody(PR_TRUE); if (body) return body->GetNumberOfVisibleRows(aResult); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::ScrollToIndex(int32_t aRowIndex) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->ScrollToIndex(aRowIndex); return NS_OK; }
void ListBoxObject::EnsureIndexIsVisible(int32_t aRowIndex) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) { body->EnsureIndexIsVisible(aRowIndex); } }
NS_IMETHODIMP nsListBoxObject::ScrollByLines(PRInt32 aNumLines) { nsListBoxBodyFrame* body = GetListBoxBody(PR_TRUE); if (body) return body->ScrollByLines(aNumLines); return NS_OK; }
void ListBoxObject::ScrollByLines(int32_t aNumLines) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) { body->ScrollByLines(aNumLines); } }
NS_IMETHODIMP nsListBoxObject::GetItemAtIndex(int32_t index, nsIDOMElement **_retval) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->GetItemAtIndex(index, _retval); return NS_OK; }
void ListBoxObject::ScrollToIndex(int32_t aRowIndex) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) { body->ScrollToIndex(aRowIndex); } }
NS_IMETHODIMP nsListBoxObject::GetRowCount(PRInt32 *aResult) { nsListBoxBodyFrame* body = GetListBoxBody(PR_TRUE); if (body) return body->GetRowCount(aResult); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::ScrollByLines(int32_t aNumLines) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->ScrollByLines(aNumLines); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::ScrollToIndex(PRInt32 aRowIndex) { nsListBoxBodyFrame* body = GetListBoxBody(PR_TRUE); if (body) return body->ScrollToIndex(aRowIndex); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::GetIndexOfFirstVisibleRow(int32_t *aResult) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->GetIndexOfFirstVisibleRow(aResult); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::GetNumberOfVisibleRows(int32_t *aResult) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->GetNumberOfVisibleRows(aResult); return NS_OK; }
NS_IMETHODIMP nsListBoxObject::GetRowCount(int32_t *aResult) { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->GetRowCount(aResult); return NS_OK; }
int32_t ListBoxObject::GetIndexOfFirstVisibleRow() { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) { return body->GetIndexOfFirstVisibleRow(); } return 0; }
int32_t ListBoxObject::GetNumberOfVisibleRows() { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) { return body->GetNumberOfVisibleRows(); } return 0; }
int32_t ListBoxObject::GetRowCount() { nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) { return body->GetRowCount(); } return 0; }
NS_IMETHODIMP nsListBoxObject::GetIndexOfItem(nsIDOMElement* aElement, int32_t *aResult) { *aResult = 0; nsListBoxBodyFrame* body = GetListBoxBody(true); if (body) return body->GetIndexOfItem(aElement, aResult); return NS_OK; }