A B C D E F G H I L M N O P R S T U V W X

A

AbstractDisplayerView - class portaview.view.AbstractDisplayerView.
Abstract displayer view.
AbstractDisplayerView(PortaViewModel, AbstractViewer) - Constructor for class portaview.view.AbstractDisplayerView
 
AbstractViewer - class portaview.AbstractViewer.
The general implementation of a viewer controller.
AbstractViewer(PortaViewModel) - Constructor for class portaview.AbstractViewer
Constructs an AbstractViewer, given the model that that this view observes on.
Album - class portaview.model.Album.
Represents the album in PortaView.
Album(File) - Constructor for class portaview.model.Album
Creates an album from a directory.
AlbumCollection - class portaview.model.AlbumCollection.
Represents a collection of AlbumModel.
AlbumCollection() - Constructor for class portaview.model.AlbumCollection
 
AlbumIconView - class portaview.view.AlbumIconView.
The album icons that represents the album.
AlbumIconView(AlbumModel, AlbumPanel) - Constructor for class portaview.view.AlbumIconView
Constrcts an icon view.
AlbumModel - class portaview.model.AlbumModel.
Contains the album information.
AlbumModel(String) - Constructor for class portaview.model.AlbumModel
Creates the album with a given name.
AlbumPanel - class portaview.view.AlbumPanel.
Album panel that displays the list of albums.
AlbumPanel(AlbumCollection) - Constructor for class portaview.view.AlbumPanel
Given a list of PortaView models, draw the view.
AlbumTransfer - class portaview.dnd.AlbumTransfer.
Transfer object for the drag and drop the album to the portaview.
AlbumTransfer(JComponent) - Constructor for class portaview.dnd.AlbumTransfer
 
AlbumTransferHandler - class portaview.dnd.AlbumTransferHandler.
The transfer handler of for the DnD from the album to the portaview.
AlbumTransferHandler() - Constructor for class portaview.dnd.AlbumTransferHandler
 
add(Object) - Method in class portaview.model.ObservableCollection
Adds an object to this collection.
addAlbum(AlbumModel) - Method in class portaview.model.AlbumCollection
 
addAll(ObservableCollection) - Method in class portaview.model.ObservableCollection
Add all the element in col to this collecion.
addPortaView(PortaViewModel) - Method in class portaview.model.PortaViewCollection
Adds the PortaView and fire the event.

B

BORDER - Static variable in class portaview.model.SlideSettings
 
BORDER_BLUE - Static variable in class portaview.model.SlideSettings
 
BORDER_GREEN - Static variable in class portaview.model.SlideSettings
 
BORDER_RED - Static variable in class portaview.model.SlideSettings
 

C

Consts - class portaview.Consts.
Constants used in the ViewerServer.
Consts() - Constructor for class portaview.Consts
 
canImport(JComponent, DataFlavor[]) - Method in class portaview.dnd.AlbumTransferHandler
Returns true if this handler can handle this event.
center() - Method in class portaview.DefaultFrame
Position the window in the center of the display.
clear() - Method in class portaview.model.ObservableCollection
Clear the collection.
configureDebugPanel() - Static method in class portaview.PortaViewMain
Constructs a debug panel.
createCenteredLabel(String) - Static method in class portaview.WidgetFactory
Generates a label that is centered.
createImageIcon(String) - Method in class portaview.view.ImageControlBar
Creates the image icon based on the path.
createTransferable(JComponent) - Method in class portaview.dnd.AlbumTransferHandler
 

D

DEFAULT_HEIGHT - Static variable in class portaview.view.IconView
 
DEFAULT_WIDTH - Static variable in class portaview.view.IconView
 
DISPLAY - Static variable in class portaview.view.ImageControlBar
Mode for display.
DefaultFrame - class portaview.DefaultFrame.
The basic frame that is the parent of all frames.
DefaultFrame(String) - Constructor for class portaview.DefaultFrame
Constructs the default frame with a name
DefaultFrame() - Constructor for class portaview.DefaultFrame
Constructs the default frame
Displayer - class portaview.Displayer.
Represents a displayer frame and controller that shows the full-screen view of the picture.
Displayer(PortaViewModel) - Constructor for class portaview.Displayer
Constructs a Displayer that observes on the PortaViewModel.
DisplayerView - class portaview.view.DisplayerView.
Panel to display the pictures.
DisplayerView(PortaViewModel, AbstractViewer) - Constructor for class portaview.view.DisplayerView
 
DomainModel - class portaview.model.DomainModel.
Top level domain model object.
DomainModel() - Constructor for class portaview.model.DomainModel
 
debug(String) - Static method in class portaview.Log
Prints out a debug statement.
debug(String) - Static method in class portaview.PortaViewMain
Prints out a debug message.
decorateFirstView(Component) - Method in class portaview.view.IconPanel
Decorates the first view if necessary.
decorateFirstView(Component) - Method in class portaview.view.PortaViewPanel
Adds an component before the first view in the panel.
decorateSecondView(Component) - Method in class portaview.view.IconPanel
Decorates the second view if necessary.
decorateSecondView(Component) - Method in class portaview.view.PortaViewPanel
Decorates the second view.
doRefresh() - Method in class portaview.view.AlbumIconView
Sets the tool tips information
doRefresh() - Method in class portaview.view.IconView
Children can override this method in order to do its specific refresh.
doRefresh() - Method in class portaview.view.PortaViewView
Sets the tool tips information
dragEnter(DropTargetDragEvent) - Method in class portaview.view.PortaViewView
Does nothing.
dragExit(DropTargetEvent) - Method in class portaview.view.PortaViewView
Does nothing
dragOver(DropTargetDragEvent) - Method in class portaview.view.PortaViewView
Does nothing
drawBorder(Graphics2D, float, int, int, int, int, int, Color) - Static method in class portaview.util.ImageUtils
Draws border around the graphics
drawBorder(Graphics2D, float, int, int, int, Color) - Static method in class portaview.util.ImageUtils
Draws border around the graphics
drawBorder(PortaViewModel, BufferedImage) - Static method in class portaview.util.ImageUtils
Draw the image according to the specified settings.
drawBorderRatio(Graphics2D, float, int, int, int, Color) - Static method in class portaview.util.ImageUtils
Draws border around the graphics with the width expressed as a ratio to the whole image.
drawBorderRatio(Graphics2D, float, int, int, int, int, int, Color) - Static method in class portaview.util.ImageUtils
Draws border around the graphics with the width expressed as a ratio to the whole image.
drop(DropTargetDropEvent) - Method in class portaview.view.PortaViewView
Perform the drop by setting the slide settings.
dropActionChanged(DropTargetDragEvent) - Method in class portaview.view.PortaViewView
Does nothing

E

emptyImage - Static variable in class portaview.view.PortaViewView
 
equals(SlideSettings) - Method in class portaview.model.SlideSettings
Returns true if the given slide settings is exactly the same.
equals(Object) - Method in class portaview.model.SlideSettings
 
execute(String, Vector) - Method in class portaview.server.PortaViewCommands
Implements the method to dispatch the methods.
exportDone(JComponent, Transferable, int) - Method in class portaview.dnd.AlbumTransferHandler
Action performed after the drop is completed

F

FIT_HEIGHT - Static variable in class portaview.view.IconPanelContent
Try to fit the icons based on the height of the viewport.
FIT_WIDTH - Static variable in class portaview.view.IconPanelContent
Try to fit the icons based on the width of the viewport.
FLAVOUR - Static variable in class portaview.dnd.AlbumTransfer
 
forceNotifyObservers() - Method in class portaview.model.DomainModel
Set changed, then force notify its observers.

G

getAlbum() - Method in class portaview.model.PhotoModel
 
getAlbum() - Method in class portaview.model.PortaViewModel
 
getAlbum(String) - Method in class portaview.server.Repository
Returns an album with a particular name.
getAlbumDir() - Method in class portaview.server.Repository
 
getAlbumModel() - Method in class portaview.view.AlbumIconView
 
getAlbums() - Method in class portaview.server.PortaViewCommands
Returns a Vector of Hashtables that contains the album name and photo names The hastable contains the "name", "icon", and "photos" key.
getAlbums() - Method in class portaview.server.PortaViewServer
 
getAlbumsFromMaster() - Method in class portaview.server.PortaViewClient
Returns a list of AlbumModels from the master.
getBorder() - Method in class portaview.model.SlideSettings
 
getBorderColor() - Method in class portaview.model.SlideSettings
 
getBufferedImage(File, Component) - Static method in class portaview.util.ImageUtils
Returns a buffered image based on the file an component to draw on.
getBufferedImage(Image, Component) - Static method in class portaview.util.ImageUtils
Similar to getBufferedImage(File, Component), load the BufferedImage from an Image.
getBufferedImageInFrame(BufferedImage, int, int, Component) - Static method in class portaview.util.ImageUtils
Returns a buffered image, resized to fit the frame specified by fwidth and fheight.
getBufferedImageInFrame(File, int, int, Component) - Static method in class portaview.util.ImageUtils
Returns a buffered image, resized to fit the frame specified by fwidth and fheight.
getBytesFromStream(InputStream) - Static method in class portaview.util.StreamUtils
Reads a stream into a byte array.
getCaption() - Method in class portaview.model.Photo
 
getClient() - Static method in class portaview.Registry
 
getDefaultWindowAdapter() - Method in class portaview.DefaultFrame
Generates a new WindowAdapter that closes the application.
getDefaultWindowAdapter() - Method in class portaview.PortaViewMain
The listener that handles the windows exit event.
getDirectory() - Method in class portaview.model.Album
 
getDisplayBar(AbstractViewer) - Static method in class portaview.view.ImageControlBar
Returns a new instance of ImageControlBar for the display panel
getDisplayer() - Method in class portaview.PortaViewMain
 
getEmptyAlbumModel() - Static method in class portaview.model.AlbumModel
 
getFile() - Method in class portaview.model.Photo
 
getFrame() - Method in class portaview.Displayer
Returns the frame of this displayer.
getGUIArgs(String[]) - Static method in class portaview.PortaViewMain
If the user does not type in a command line argument, pop up a box for them to type it in.
getIconImage() - Method in class portaview.view.AlbumIconView
Returns the icon image.
getIconImage() - Method in class portaview.view.IconView
Children should implement this in order to get the icon image.
getIconImage() - Method in class portaview.view.PortaViewView
Returns the icon image.
getIconLabel() - Method in class portaview.view.AlbumIconView
Returns the icon label.
getIconLabel() - Method in class portaview.view.IconView
Children should implement this in order to return the text label.
getIconLabel() - Method in class portaview.view.PortaViewView
Returns the icon label.
getImage() - Method in class portaview.model.ImageModel
 
getImage(URL) - Static method in class portaview.util.ImageUtils
Returns the image associated with the url
getImage(String) - Static method in class portaview.util.ImageUtils
Similar to getImage(URL), load from a filename instead of the URL.
getImage(File) - Static method in class portaview.util.ImageUtils
Similar to getImage(String), load from a File instead of the file name.
getImage(byte[]) - Static method in class portaview.util.ImageUtils
Returns the image given the JPEG encoding in a byte array.
getImageControls(AbstractViewer) - Method in class portaview.view.AbstractDisplayerView
Returns the image control bar.
getImageControls(AbstractViewer) - Method in class portaview.view.DisplayerView
Returns the image bar.
getImageControls(AbstractViewer) - Method in class portaview.view.PreviewView
Returns the image control bar for the preview view.
getImageModel() - Method in class portaview.model.PortaViewModel
 
getIndex() - Method in class portaview.model.SlideSettings
 
getInetAddress() - Method in class portaview.model.PortaViewModel
 
getInetAddress() - Method in class portaview.server.PortaViewServer
 
getJpeg() - Method in class portaview.model.Photo
 
getJpegIcon(int, int) - Method in class portaview.model.Photo
 
getMainApplication() - Static method in class portaview.Registry
 
getMasterIP() - Method in class portaview.server.PortaViewServer
 
getMasterName() - Method in class portaview.server.PortaViewServer
 
getModel() - Method in class portaview.AbstractViewer
 
getModel() - Method in class portaview.RemoteUpdateController
 
getMultiLineLabel(String[]) - Method in class portaview.view.IconView
Utility method to get a multi-line label string.
getName() - Method in class portaview.model.AlbumModel
 
getName() - Method in class portaview.model.NameModel
 
getName() - Method in class portaview.server.PortaViewServer
 
getNextButton() - Method in class portaview.view.ImageControlBar
 
getNoPicText() - Method in class portaview.view.AbstractDisplayerView
If the displayer has no picture, returns the text that it will display.
getNoPicText() - Method in class portaview.view.DisplayerView
Text for the no picture.
getNoPicText() - Method in class portaview.view.PreviewView
Text for no album.
getNoPicTextColor() - Method in class portaview.view.AbstractDisplayerView
 
getNoPicTextColor() - Method in class portaview.view.DisplayerView
 
getPauseButton() - Method in class portaview.view.ImageControlBar
 
getPhoto(int) - Method in class portaview.model.Album
Returns the photo with the show name and the sequence id.
getPhoto(String) - Method in class portaview.model.Album
Returns a photo given the name.
getPhoto(String, int) - Method in class portaview.server.PortaViewCommands
Given a show and a sequence number return the photo struct.
getPhotoFromMaster(SlideSettings, AsyncCallback) - Method in class portaview.server.PortaViewClient
Tries to retrieve the full image from the master.
getPhotoWithName(String, String, AsyncCallback) - Method in class portaview.server.PortaViewClient
Retrieves the photo with a given name.
getPhotoWithName(String, String) - Method in class portaview.server.PortaViewCommands
Given a show and a sequence number return the photo struct.
getPhotos() - Method in class portaview.model.AlbumModel
 
getPlayButton() - Method in class portaview.view.ImageControlBar
 
getPlayState() - Method in class portaview.model.SlideSettings
 
getPortaViewModel() - Method in class portaview.view.AbstractDisplayerView
 
getPortaViewModel() - Method in class portaview.view.PortaViewView
 
getPrevButton() - Method in class portaview.view.ImageControlBar
 
getPreview() - Method in class portaview.PortaViewMain
 
getPreviewBar(AbstractViewer) - Static method in class portaview.view.ImageControlBar
Returns a new instance of ImageControlBar for the preview panel.
getRegisteredPortaViews() - Method in class portaview.server.PortaViewServer
 
getRepository() - Method in class portaview.server.PortaViewServer
 
getScaledImage(File, int, int) - Static method in class portaview.util.ImageUtils
Returns the JPEG encoding of a scaled image.
getServer() - Static method in class portaview.Registry
 
getSettingsButton() - Method in class portaview.view.ImageControlBar
 
getSlide() - Method in class portaview.model.SlideSettings
 
getSlideSettings() - Method in class portaview.model.PortaViewModel
 
getSource() - Method in class portaview.dnd.AlbumTransfer
 
getSourceActions(JComponent) - Method in class portaview.dnd.AlbumTransferHandler
Returns the source actions.
getSpeed() - Method in class portaview.model.SlideSettings
 
getStatus() - Method in class portaview.server.PortaViewCommands
RPC call for getting the status.
getThisPortaViewModel() - Method in class portaview.PortaViewMain
 
getTotal() - Method in class portaview.model.SlideSettings
 
getTransferData(DataFlavor) - Method in class portaview.dnd.AlbumTransfer
Returns the transfer data.
getTransferDataFlavors() - Method in class portaview.dnd.AlbumTransfer
Returns the default data flavor (local jvm object).
getTransparency() - Method in class portaview.model.SlideSettings
 
getView() - Method in class portaview.AbstractViewer
 
getViewFromModel(Object, IconPanel) - Method in class portaview.view.AlbumPanel
Returns the AlbumIconView.
getViewFromModel(Object, IconPanel) - Method in class portaview.view.IconPanel
Children should implement this in order to get a view from the model.
getViewFromModel(Object, IconPanel) - Method in class portaview.view.PortaViewPanel
Generates a PortaViewView from the PortaViewModel.

H

handleError(Exception, URL, String) - Method in class portaview.model.ImageModel
Handles the error for the async call to the master when retrieving the picture.
handleResult(Object, URL, String) - Method in class portaview.model.ImageModel
Handles the result for the async call to master when retrieving the picture.

I

ICON_H - Static variable in class portaview.model.Album
 
ICON_W - Static variable in class portaview.model.Album
 
IMAGE_CHANGED - Static variable in class portaview.model.PortaViewModel
 
INDEX - Static variable in class portaview.model.SlideSettings
 
IconPanel - class portaview.view.IconPanel.
Implements the generic scoll pane for icons.
IconPanel() - Constructor for class portaview.view.IconPanel
 
IconPanel(ObservableCollection) - Constructor for class portaview.view.IconPanel
Constructs a panel based on an observable list of items IconViews.
IconPanelContent - class portaview.view.IconPanelContent.
Generic implementation for the content that lives in the IconPanel.
IconPanelContent(IconPanel, ObservableCollection) - Constructor for class portaview.view.IconPanelContent
 
IconView - class portaview.view.IconView.
Icon view that serve as the parent of things that can have an icon.
IconView(IconPanel) - Constructor for class portaview.view.IconView
 
ImageControlBar - class portaview.view.ImageControlBar.
Represents the button bar that controls the images.
ImageControlBar(int, AbstractViewer) - Constructor for class portaview.view.ImageControlBar
 
ImageModel - class portaview.model.ImageModel.
Abstract implementation of an image model.
ImageModel() - Constructor for class portaview.model.ImageModel
Constructs an ImageModel associated with no image.
ImageModel(Image) - Constructor for class portaview.model.ImageModel
Constructs an ImageModel associated with a given image.
ImageUtils - class portaview.util.ImageUtils.
Image utilities to process JPG images.
ImageUtils() - Constructor for class portaview.util.ImageUtils
 
importData(JComponent, Transferable) - Method in class portaview.dnd.AlbumTransferHandler
From the transferable object, import the data to the PortaView icons.
init() - Static method in class portaview.Log
Initialzies the log.
initDisplayer() - Method in class portaview.PortaViewMain
Initializes the displayer.
initEmptyImage() - Method in class portaview.view.PortaViewView
 
installDnD() - Method in class portaview.view.AlbumIconView
Adds the drag and drop support for the icon view.
installDnD() - Method in class portaview.view.PortaViewView
Adds the drag and drop support for the icon view.
installListener() - Method in class portaview.view.PortaViewView
Installs the listener for the button click event.
isDataFlavorSupported(DataFlavor) - Method in class portaview.dnd.AlbumTransfer
Returns true if the flavor is the jvm local MIME type.
isDisplayActive() - Method in class portaview.PortaViewMain
 
isMaster() - Static method in class portaview.Registry
 
iterator() - Method in class portaview.model.ObservableCollection
Returns the iterator for this collection.

L

Log - class portaview.Log.
The basic logger class.
Log() - Constructor for class portaview.Log
 
listAlbums() - Method in class portaview.server.Repository
Returns a List of Album that are available in the repository.
listPhotos() - Method in class portaview.model.Album
Lists out the photos inside this album.

M

main(String[]) - Static method in class portaview.PortaViewMain
Starting point for PortaView's main execution.
model - Variable in class portaview.AbstractViewer
 

N

NameModel - class portaview.model.NameModel.
The basic domain object that contains a name.
NameModel(String) - Constructor for class portaview.model.NameModel
 
needRefresh() - Method in class portaview.view.AbstractDisplayerView
 
needRefresh() - Method in class portaview.view.AlbumIconView
Returns true if the displayer is not active
needRefresh() - Method in class portaview.view.DisplayerView
Optimization for refreshing.
needRefresh() - Method in class portaview.view.IconView
Returns true if the view need refreshing.
needRefresh() - Method in class portaview.view.PortaViewView
Returns true only if the display is not active.
needRefresh() - Method in class portaview.view.PreviewView
Optimization for refreshing.
needsLabel() - Method in class portaview.view.AbstractDisplayerView
Children should implement this in order to set whether you need the label or not.
needsLabel() - Method in class portaview.view.DisplayerView
Returns false (does not need label)
needsLabel() - Method in class portaview.view.PreviewView
Needs a label, so returns true.
nextSlide() - Method in class portaview.AbstractViewer
Moves to the next slide.
nextSlide() - Method in class portaview.model.PortaViewModel
Moves to the next slide.
notifyChange() - Method in class portaview.model.ObservableCollection
Can be called externally to change notify the observers of the observables.
notifyChildrenObservers() - Method in class portaview.model.ObservableCollection
Notify the children's observers.

O

ObservableCollection - class portaview.model.ObservableCollection.
Generic collection class that can be observed.
ObservableCollection() - Constructor for class portaview.model.ObservableCollection
 

P

PAUSE - Static variable in class portaview.model.SlideSettings
 
PLAY - Static variable in class portaview.model.SlideSettings
 
PLAY_STATE - Static variable in class portaview.model.SlideSettings
 
PREVIEW - Static variable in class portaview.view.ImageControlBar
Mode for the preview.
Photo - class portaview.model.Photo.
Represents a photo on disk.
Photo() - Constructor for class portaview.model.Photo
 
Photo(File, String) - Constructor for class portaview.model.Photo
Constructs a photo with caption.
Photo(File) - Constructor for class portaview.model.Photo
Constructs a photo.
PhotoModel - class portaview.model.PhotoModel.
Represents a photo model, or "M" in the MVC layer in the PortaView manager..
PhotoModel(AlbumModel, String) - Constructor for class portaview.model.PhotoModel
Constructs a Photo in a given album.
PortaViewClient - class portaview.server.PortaViewClient.
Provides the API for client calls to remote PortaViews.
PortaViewClient() - Constructor for class portaview.server.PortaViewClient
The viewer server that contains all data about the connections.
PortaViewCollection - class portaview.model.PortaViewCollection.
Implements a list for PortaView that can be observed.
PortaViewCollection() - Constructor for class portaview.model.PortaViewCollection
 
PortaViewCommands - class portaview.server.PortaViewCommands.
Commands for the XML-RPC server.
PortaViewCommands(PortaViewServer) - Constructor for class portaview.server.PortaViewCommands
 
PortaViewImageModel - class portaview.model.PortaViewImageModel.
Contains the image information within the PortaViewModel.
PortaViewImageModel(PortaViewModel) - Constructor for class portaview.model.PortaViewImageModel
Constructs the image model within the PortaViewModel.
PortaViewMain - class portaview.PortaViewMain.
This is the main PortaView class.
PortaViewMain(String[]) - Constructor for class portaview.PortaViewMain
Constructs the main PortaView application, given the command-line arguments.
PortaViewModel - class portaview.model.PortaViewModel.
Represents a PortaView.
PortaViewModel(String, InetAddress, AlbumModel) - Constructor for class portaview.model.PortaViewModel
 
PortaViewPanel - class portaview.view.PortaViewPanel.
Represents a PortaViewPanel that list out the PortaViews on the left.
PortaViewPanel(PortaViewCollection) - Constructor for class portaview.view.PortaViewPanel
Given a list of PortaView models, draw the view.
PortaViewServer - class portaview.server.PortaViewServer.
A server that runs on the remote box that listens to the display call from the source.
PortaViewServer(String, InetAddress, InetAddress, Repository, int) - Constructor for class portaview.server.PortaViewServer
Constructs the an instance of the viewerserver
PortaViewUpdateRunner - class portaview.server.PortaViewUpdateRunner.
Thread that periodically polls the remote PortaViews and check if you need to update them.
PortaViewUpdateRunner() - Constructor for class portaview.server.PortaViewUpdateRunner
 
PortaViewView - class portaview.view.PortaViewView.
Represents a PortaView icon listed on the left.
PortaViewView(PortaViewModel, PortaViewPanel) - Constructor for class portaview.view.PortaViewView
 
PreviewView - class portaview.view.PreviewView.
Implenets the view for the preview panel.
PreviewView(PortaViewModel, AbstractViewer) - Constructor for class portaview.view.PreviewView
Constrctus the preview view with a given model.
Previewer - class portaview.Previewer.
Panel to preview the image.
Previewer(PortaViewModel) - Constructor for class portaview.Previewer
Constrcuts the previewer.
paintComponent(Graphics) - Method in class portaview.view.SettingsPreview
Draws the preview graphics with all the effects.
pause() - Method in class portaview.AbstractViewer
Sets the viewer to pause.
pause() - Method in class portaview.model.PortaViewModel
Sets the PortaView to pause.
play() - Method in class portaview.AbstractViewer
Sets the viewer to play.
play() - Method in class portaview.model.PortaViewModel
Sets the PortaView pause play.
portaview - package portaview
Package that contains the main PortaView application and the controllers, or "C" in the MVC pattern.
portaview.dnd - package portaview.dnd
Module that handles all drag and drop affairs in the main application.
portaview.model - package portaview.model
The models, or the "M" in the MVC pattern.
portaview.server - package portaview.server
PortaView's server that both serves as a client (to retrieve the images from the master PortaView's server) and a server (to accept local modification as commanded by the master server).
portaview.util - package portaview.util
General utilities used by PortaView.
portaview.view - package portaview.view
The views, or "V" in the MVC pattern.
postProcessIcon(Image) - Method in class portaview.view.IconView
Children class can override this class to process the icon.
postProcessIcon(Image) - Method in class portaview.view.PortaViewView
Process the image in order to add a border to the icon.
prevSlide() - Method in class portaview.AbstractViewer
Moves to the previous slide.
prevSlide() - Method in class portaview.model.PortaViewModel
Moves to the previous slide.

R

Registry - class portaview.Registry.
Registry that contains the static content that everyone else needs.
Registry() - Constructor for class portaview.Registry
 
RemoteUpdateController - class portaview.RemoteUpdateController.
Controller to update the remote PortaView when user assigns an album to it.
RemoteUpdateController(PortaViewModel) - Constructor for class portaview.RemoteUpdateController
Constructs the controller with a given PortaViewModel that it observes.
Repository - class portaview.server.Repository.
Represents a photo repository.
Repository(File) - Constructor for class portaview.server.Repository
Creates a photo repository.
refresh() - Method in class portaview.view.AbstractDisplayerView
Refresh the tool bar and the image.
refresh() - Method in class portaview.view.IconPanel
Refreshes the panel.
refresh() - Method in class portaview.view.IconPanelContent
Refreshes the content of this view.
refresh() - Method in class portaview.view.IconView
Refreshes the view.
refreshBar(Observable) - Method in class portaview.view.AbstractDisplayerView
Refreshes the tool bar if the model has changed.
refreshImage() - Method in class portaview.view.AbstractDisplayerView
Refreshes the image, resizing it to the size of the label.
register(String, String) - Method in class portaview.server.PortaViewCommands
Only would be called if this PortaView is a master.
registerMaster(String, String) - Method in class portaview.server.PortaViewCommands
Registers this PortaView with the master given the master's ip address.
registerWithMaster() - Method in class portaview.server.PortaViewClient
Register this PortaView with the master.
remove(Object) - Method in class portaview.model.ObservableCollection
Removes an object and notify the observing observers.
removeAlbum(AlbumModel) - Method in class portaview.model.AlbumCollection
 
removePortaView(PortaViewModel) - Method in class portaview.model.PortaViewCollection
Removes the PortaView and fire the event.
removeView(Object) - Method in class portaview.view.AlbumPanel
Clean up the view and model.
removeView(Object) - Method in class portaview.view.IconPanel
Clean up the view when it is discarded.
removeView(Object) - Method in class portaview.view.PortaViewPanel
Remove the view and clean up the observers.
repaint() - Method in class portaview.view.IconPanel
 
reset() - Static method in class portaview.Registry
Initializes the registry.
run() - Method in class portaview.server.PortaViewUpdateRunner
The main loop in the thread.
run() - Method in class portaview.server.SlideRunner
Polls every second and see whether the current PortaView needs to change its picture.

S

SETTINGS_CHANGED - Static variable in class portaview.model.PortaViewModel
 
SLIDE - Static variable in class portaview.model.SlideSettings
 
SPEED - Static variable in class portaview.model.SlideSettings
 
SettingsDialog - class portaview.view.SettingsDialog.
Represents a dialog that one can set the slide settings.
SettingsDialog(JFrame, PortaViewModel) - Constructor for class portaview.view.SettingsDialog
 
SettingsPreview - class portaview.view.SettingsPreview.
Simple panel that shows preview for the settings used in the SettingsDialog.
SettingsPreview(Image, JSlider, JSlider, JButton) - Constructor for class portaview.view.SettingsPreview
 
SlideRunner - class portaview.server.SlideRunner.
Thread that updates the displayer every seconds and see if you need to advance to the next slide.
SlideRunner() - Constructor for class portaview.server.SlideRunner
 
SlideSettings - class portaview.model.SlideSettings.
Settings for the slideshow.
SlideSettings() - Constructor for class portaview.model.SlideSettings
 
SlideSettings(Hashtable) - Constructor for class portaview.model.SlideSettings
Given a Hashtable that represents this object (got form XML-RPC mostly), convert and set this object.
StreamUtils - class portaview.util.StreamUtils.
Utility to read in streams.
StreamUtils() - Constructor for class portaview.util.StreamUtils
 
select(int) - Method in class portaview.view.IconPanelContent
Selects the nth element.
selectFirst() - Method in class portaview.view.IconPanel
Selects the first item in the panel.
selectFirst() - Method in class portaview.view.IconPanelContent
Selects the first view.
setAlbum(AlbumModel) - Method in class portaview.model.PhotoModel
Sets the album model.
setAlbum(AlbumModel) - Method in class portaview.model.PortaViewModel
 
setAlbumDir(File) - Method in class portaview.server.Repository
Sets the album directory.
setAlbumModel(AlbumModel) - Method in class portaview.view.AlbumIconView
Sets the album model.
setAlbums(AlbumCollection) - Method in class portaview.server.PortaViewServer
Sets the collection of albums.
setBorder(int) - Method in class portaview.model.SlideSettings
Sets border width.
setBorderColor(Color) - Method in class portaview.model.SlideSettings
Sets border color
setCaption(String) - Method in class portaview.model.Photo
Sets the caption.
setClient(PortaViewClient) - Static method in class portaview.Registry
Sets the PortaView client.
setDefaultWindowAdapter() - Method in class portaview.DefaultFrame
Set the default window adapater.
setDirectory(File) - Method in class portaview.model.Album
Sets the directory.
setDisplayActive(boolean) - Method in class portaview.PortaViewMain
 
setDisplayer(Displayer) - Method in class portaview.PortaViewMain
 
setFile(File) - Method in class portaview.model.Photo
Sets the file associated with this Photo.
setImage(Image) - Method in class portaview.model.ImageModel
Sets the image
setImageCount(SlideSettings) - Method in class portaview.view.ImageControlBar
Sets the label for the slide settings.
setImageModel(PortaViewImageModel) - Method in class portaview.model.PortaViewModel
Sets the image model.
setIndex(int) - Method in class portaview.model.SlideSettings
Sets the picture index.
setInetAddress(InetAddress) - Method in class portaview.model.PortaViewModel
Sets the Ip for the PortaView.
setInetAddress(InetAddress) - Method in class portaview.server.PortaViewServer
Sets the IP address for this server.
setMainApplication(PortaViewMain) - Static method in class portaview.Registry
Sets the main application.
setMaster(boolean) - Static method in class portaview.Registry
Sets the master state for this PortaView.
setMasterIP(InetAddress) - Method in class portaview.server.PortaViewServer
Sets the master's IP address.
setMasterName(String) - Method in class portaview.server.PortaViewServer
Sets the master's name.
setModel(PortaViewModel) - Method in class portaview.AbstractViewer
Changes the internal PortaView model for this view.
setModel(PortaViewModel) - Method in class portaview.RemoteUpdateController
 
setName(String) - Method in class portaview.model.AlbumModel
Sets the name of the album.
setName(String) - Method in class portaview.model.NameModel
Sets the name of this domain object.
setName(String) - Method in class portaview.server.PortaViewServer
Sets the name of this PortaView.
setNextButton(JButton) - Method in class portaview.view.ImageControlBar
Sets next button.
setNextRefreshTime(long) - Method in class portaview.server.SlideRunner
Sets the next refresh time.
setPauseButton(JButton) - Method in class portaview.view.ImageControlBar
Sets pause button.
setPhotos(List) - Method in class portaview.model.AlbumModel
 
setPlayButton(JButton) - Method in class portaview.view.ImageControlBar
Sets play button.
setPlayState(int) - Method in class portaview.model.SlideSettings
Sets the play state.
setPortaViewModel(PortaViewModel) - Method in class portaview.view.AbstractDisplayerView
Sets the PortaViewModel
setPortaViewModel(PortaViewModel) - Method in class portaview.view.PortaViewView
Sets the model.
setPrevButton(JButton) - Method in class portaview.view.ImageControlBar
Sets play button.
setPreview(Previewer) - Method in class portaview.PortaViewMain
 
setRegisteredPortaViews(PortaViewCollection) - Method in class portaview.server.PortaViewServer
Replace the collection of registered PortaViews with a new collection.
setRepository(Repository) - Method in class portaview.server.PortaViewServer
Sets the repository of photos (on disk).
setServer(PortaViewServer) - Static method in class portaview.Registry
Sets the PortaView server.
setSettingsButton(JButton) - Method in class portaview.view.ImageControlBar
Sets the settings button
setSlide(String) - Method in class portaview.model.SlideSettings
Sets the slide's name.
setSlideSettings(SlideSettings) - Method in class portaview.model.PortaViewModel
Sets the slide settings and notify all the observers about the change.
setSource(JComponent) - Method in class portaview.dnd.AlbumTransfer
Sets the source component for this event.
setSpeed(int) - Method in class portaview.model.SlideSettings
Sets the play speed.
setThisPortaViewModel(PortaViewModel) - Method in class portaview.PortaViewMain
 
setTotal(int) - Method in class portaview.model.SlideSettings
Sets the total number of slides.
setTransparency(int) - Method in class portaview.model.SlideSettings
Sets the alpha transparency
setView(AbstractDisplayerView) - Method in class portaview.AbstractViewer
Changes the view associated with this controller.
setVisible(boolean) - Method in class portaview.Displayer
Shows or hides the displayer.
shutdown() - Method in class portaview.PortaViewMain
Closes all the resources that this PortaView opens.
shutdown() - Method in class portaview.server.PortaViewServer
Shuts down all servers.
shutdown() - Method in class portaview.server.PortaViewUpdateRunner
Shutdown this thread.
shutdown() - Method in class portaview.server.SlideRunner
Shutdowns the thread.
size() - Method in class portaview.model.ObservableCollection
Returns the size of this collection.
source - Variable in class portaview.dnd.AlbumTransfer
 
start() - Method in class portaview.PortaViewMain
Starts the main application.
start() - Method in class portaview.server.PortaViewServer
Starts the XML-RPC server, the update runnder, and slide runner.
stateChanged(ChangeEvent) - Method in class portaview.view.IconPanelContent
Recalculate the row of icons in order to fit the view port better.
stateChanged(ChangeEvent) - Method in class portaview.view.SettingsPreview
Should update myself when things have changed.

T

TOTAL - Static variable in class portaview.model.SlideSettings
 
TRANSPARENCY - Static variable in class portaview.model.SlideSettings
 
toHashtable() - Method in class portaview.model.SlideSettings
 
toString() - Method in class portaview.model.SlideSettings
Serializes to string for pretty print out.
toXmlRpcType() - Method in class portaview.model.Album
Returns a Hashtable of name = the name of album and icon = byte[] of the album image.
toXmlRpcType() - Method in interface portaview.model.XmlRpcType
Returns an object that can be used in the XmlRpc calls.

U

unregister(String) - Method in class portaview.server.PortaViewCommands
Unregister the portaview from the master's list.
unregisterWithMaster() - Method in class portaview.server.PortaViewClient
Unregister this PortaView with the master.
update(Observable, Object) - Method in class portaview.Displayer
Does nothing, for the internals will update themselves.
update(Observable, Object) - Method in class portaview.Previewer
Does nothing for now.
update(Observable, Object) - Method in class portaview.RemoteUpdateController
Update the remote PortaView when the update happens in the PortaViewModel.
update(Observable, Object) - Method in class portaview.model.PortaViewImageModel
When the slide setting has changed, then it'll call this method to update the current image.
update(Observable, Object) - Method in class portaview.model.PortaViewModel
Underlying models have changed.
update(Hashtable) - Method in class portaview.server.PortaViewCommands
Update this portaview main displayer.
update(Observable, Object) - Method in class portaview.view.AbstractDisplayerView
The model would call this method when its state has change.
update(Observable, Object) - Method in class portaview.view.IconPanelContent
Listen to the event if the observable has changed.
update(Observable, Object) - Method in class portaview.view.IconView
Update to call when the PortaView has changed.
updatePortaViewModel(PortaViewModel) - Method in class portaview.server.PortaViewClient
Updates the remote PortaView model.
updateRemote() - Method in class portaview.model.PortaViewModel
Update this portaview model with the remote portaview's state.
updateRemotePortaView(PortaViewModel) - Method in class portaview.server.PortaViewClient
Updates the remote portaview with the portaview's settings.

V

view - Variable in class portaview.AbstractViewer
 

W

WidgetFactory - class portaview.WidgetFactory.
Factory class to generate common swing widgets.
WidgetFactory() - Constructor for class portaview.WidgetFactory
 

X

XML_RPC_PORT - Static variable in class portaview.Consts
The default port PortaView's server runs on.
XRPC_PROTO - Static variable in class portaview.server.PortaViewServer
 
XT_ICON - Static variable in class portaview.model.Album
 
XT_NAME - Static variable in class portaview.model.Album
 
XT_PHOTOS - Static variable in class portaview.model.Album
 
XmlRpcType - interface portaview.model.XmlRpcType.
Interface for data types that can be translated to XmlRpcType.

A B C D E F G H I L M N O P R S T U V W X

Copyright © 2003 The PortaView Team. All Rights Reserved.