public class CollapsablePanel extends com.google.gwt.user.client.ui.Composite implements ReportExportWidget
Modifier and Type | Class and Description |
---|---|
static class |
CollapsablePanel.ImagePosition |
Modifier and Type | Field and Description |
---|---|
protected org.kuali.student.common.ui.client.widgets.search.CollapsablePanel.ContentAnimation |
animation |
protected com.google.gwt.user.client.ui.Image |
closedImage |
protected com.google.gwt.user.client.ui.SimplePanel |
content |
protected CollapsablePanel.ImagePosition |
imagePosition |
protected boolean |
isOpen |
protected KSButton |
label |
protected VerticalFlowPanel |
layout |
protected HorizontalBlockFlowPanel |
linkPanel |
protected com.google.gwt.event.dom.client.ClickHandler |
openCloseClickHandler |
protected com.google.gwt.user.client.ui.Image |
openedImage |
protected boolean |
withImages |
Modifier | Constructor and Description |
---|---|
protected |
CollapsablePanel() |
|
CollapsablePanel(String label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen) |
|
CollapsablePanel(String label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen,
boolean withImages) |
|
CollapsablePanel(String label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen,
boolean withImages,
CollapsablePanel.ImagePosition imagePosition) |
|
CollapsablePanel(com.google.gwt.user.client.ui.Widget label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen,
boolean withImages,
CollapsablePanel.ImagePosition imagePosition) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected KSButton |
getButtonLabel(String labelString) |
List<ExportElement> |
getExportElementSubset(ExportElement parent) |
String |
getExportFieldValue() |
KSButton |
getLabel()
If the widget was initialized with a string label, it will return a KSButton.
|
com.google.gwt.user.client.ui.Widget |
getLabelWidget() |
protected void |
init(com.google.gwt.user.client.ui.Widget label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen,
boolean withImages,
CollapsablePanel.ImagePosition imagePosition) |
void |
initialise(String label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen) |
void |
initialise(String label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen,
boolean withImages) |
void |
initialise(String label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen,
boolean withImages,
CollapsablePanel.ImagePosition imagePosition) |
void |
initialise(com.google.gwt.user.client.ui.Widget label,
com.google.gwt.user.client.ui.Widget content,
boolean isOpen,
boolean withImages,
CollapsablePanel.ImagePosition imagePosition) |
boolean |
isExportElement() |
boolean |
isOpen() |
void |
open() |
protected void |
setImageState()
Update the image state to display opened/closed image based in isOpen() status
|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
protected VerticalFlowPanel layout
protected HorizontalBlockFlowPanel linkPanel
protected com.google.gwt.user.client.ui.SimplePanel content
protected org.kuali.student.common.ui.client.widgets.search.CollapsablePanel.ContentAnimation animation
protected boolean isOpen
protected boolean withImages
protected CollapsablePanel.ImagePosition imagePosition
protected com.google.gwt.user.client.ui.Image closedImage
protected com.google.gwt.user.client.ui.Image openedImage
protected com.google.gwt.event.dom.client.ClickHandler openCloseClickHandler
protected CollapsablePanel()
public CollapsablePanel(String label, com.google.gwt.user.client.ui.Widget content, boolean isOpen)
public CollapsablePanel(String label, com.google.gwt.user.client.ui.Widget content, boolean isOpen, boolean withImages)
public CollapsablePanel(String label, com.google.gwt.user.client.ui.Widget content, boolean isOpen, boolean withImages, CollapsablePanel.ImagePosition imagePosition)
public CollapsablePanel(com.google.gwt.user.client.ui.Widget label, com.google.gwt.user.client.ui.Widget content, boolean isOpen, boolean withImages, CollapsablePanel.ImagePosition imagePosition)
public void initialise(String label, com.google.gwt.user.client.ui.Widget content, boolean isOpen)
public void initialise(String label, com.google.gwt.user.client.ui.Widget content, boolean isOpen, boolean withImages)
public void initialise(String label, com.google.gwt.user.client.ui.Widget content, boolean isOpen, boolean withImages, CollapsablePanel.ImagePosition imagePosition)
public void initialise(com.google.gwt.user.client.ui.Widget label, com.google.gwt.user.client.ui.Widget content, boolean isOpen, boolean withImages, CollapsablePanel.ImagePosition imagePosition)
protected void init(com.google.gwt.user.client.ui.Widget label, com.google.gwt.user.client.ui.Widget content, boolean isOpen, boolean withImages, CollapsablePanel.ImagePosition imagePosition)
protected KSButton getButtonLabel(String labelString)
public KSButton getLabel()
public com.google.gwt.user.client.ui.Widget getLabelWidget()
public boolean isOpen()
public void open()
public void close()
protected void setImageState()
public boolean isExportElement()
isExportElement
in interface ReportExportWidget
public List<ExportElement> getExportElementSubset(ExportElement parent)
getExportElementSubset
in interface ReportExportWidget
public String getExportFieldValue()
getExportFieldValue
in interface ReportExportWidget
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.