public class StudentGallery
extends java.lang.Object
Constructor and Description |
---|
StudentGallery(StudentRepresentation student)
Instantiates a new student gallery.
|
StudentGallery(StudentRepresentation student,
java.util.logging.Logger log)
Instantiates a new student gallery.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addToGallery(IItem item,
IStage stage)
Adds the to gallery.
|
void |
addToStage(IStage stage)
Adds the to stage.
|
IItem |
asItem()
As item.
|
IItem |
generateGallery(IStage stage)
Generate gallery.
|
IScrollContainer |
getGalleryBox() |
java.util.ArrayList<IItem> |
getGalleryItems() |
java.util.ArrayList<java.lang.Object[]> |
getGalleryItemsInfo() |
StudentMenu |
getMenu()
Gets the menu.
|
void |
removeFrom(IStage stage)
Removes the from.
|
void |
resetStudentGallery()
Reset student gallery.
|
void |
setAbilityToAddContentFromGallery(boolean allowGalleryAdd)
Sets the ability to add content from gallery.
|
void |
setMenu(StudentMenu menu)
Sets the menu.
|
void |
setVisibility(boolean visibility)
Sets the visibility.
|
public StudentGallery(StudentRepresentation student)
student
- the studentpublic StudentGallery(StudentRepresentation student, java.util.logging.Logger log)
student
- the studentlog
- the logpublic boolean addToGallery(IItem item, IStage stage)
item
- the itemstage
- the stagepublic void addToStage(IStage stage)
stage
- the stagepublic IItem asItem()
public IItem generateGallery(IStage stage)
stage
- the stagepublic IScrollContainer getGalleryBox()
public java.util.ArrayList<IItem> getGalleryItems()
public java.util.ArrayList<java.lang.Object[]> getGalleryItemsInfo()
public StudentMenu getMenu()
public void removeFrom(IStage stage)
stage
- the stagepublic void resetStudentGallery()
public void setAbilityToAddContentFromGallery(boolean allowGalleryAdd)
allowGalleryAdd
- the new ability to add content from gallerypublic void setMenu(StudentMenu menu)
menu
- the new menupublic void setVisibility(boolean visibility)
visibility
- the new visibility