pt.despodata.java.webappl
Class Frame

java.lang.Object
  extended bypt.despodata.java.webappl.Frame
All Implemented Interfaces:
IPage

public class Frame
extends java.lang.Object
implements IPage

Frame.java, Representacao de uma frame de um FrameSet. Created: Tue Jul 10 12:52:28 2001

Version:
$Revision: 1.1.1.1 $
Author:
Paulo Carmo

Field Summary
 
Fields inherited from interface pt.despodata.java.webappl.IPage
FRAME, FRAMESET, UNKNOW, WEBPAGE
 
Constructor Summary
Frame(java.lang.String name, FrameSet frameSet)
          Constroi uma frame com uma pagina.
 
Method Summary
 void clear()
          Remove todas as IPages do stack.
 boolean equals(java.lang.Object obj)
          Verifica se uma frame e igual a outra.
 Frame getFrame()
          Get the value of frame.
 FrameSet getFrameSet()
          Get the value of frameSet.
 java.lang.String getName()
          Get the value of name.
 java.lang.String getParentUri()
          Get the value of parentUri.
 int getType()
          Devolve o tipo de pagina.
 java.lang.String getUri()
          Get the value of uri.
 boolean isActive()
          Verifica se a frame contem alguma pagina ou se pelo contrario, nao esta definida.
 boolean isDetail()
          Get the value of detail.
 java.lang.String peek()
          Devolve a IPage que se encontra no cimo do stack.
 java.lang.String pop()
          retira e devolve a IPage que se encontra no cimo do stack.
 java.lang.String push(java.lang.String page)
          Insere uma nova IPage no cimo do stack.
 void setDetail(boolean v)
          Set the value of detail.
 void setParentUri(java.lang.String v)
          Set the value of parentUri.
 java.lang.String toString()
          Devolve uma string que representa a frame.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Frame

public Frame(java.lang.String name,
             FrameSet frameSet)
Constroi uma frame com uma pagina.

Method Detail

clear

public void clear()
Remove todas as IPages do stack.


equals

public boolean equals(java.lang.Object obj)
Verifica se uma frame e igual a outra.


getName

public java.lang.String getName()
Get the value of name.

Returns:
Value of name.

isActive

public boolean isActive()
Verifica se a frame contem alguma pagina ou se pelo contrario, nao esta definida.


peek

public java.lang.String peek()
Devolve a IPage que se encontra no cimo do stack.


pop

public java.lang.String pop()
retira e devolve a IPage que se encontra no cimo do stack.


push

public java.lang.String push(java.lang.String page)
Insere uma nova IPage no cimo do stack.


toString

public java.lang.String toString()
Devolve uma string que representa a frame.


getFrame

public Frame getFrame()
Get the value of frame.

Specified by:
getFrame in interface IPage
Returns:
Value of frame.

getFrameSet

public FrameSet getFrameSet()
Get the value of frameSet.

Specified by:
getFrameSet in interface IPage
Returns:
Value of frameSet.

getParentUri

public java.lang.String getParentUri()
Get the value of parentUri.

Specified by:
getParentUri in interface IPage
Returns:
Value of parentUri.

getType

public int getType()
Devolve o tipo de pagina.

Specified by:
getType in interface IPage

getUri

public java.lang.String getUri()
Get the value of uri.

Specified by:
getUri in interface IPage
Returns:
Value of uri.

isDetail

public boolean isDetail()
Get the value of detail.

Specified by:
isDetail in interface IPage
Returns:
Value of detail.

setDetail

public void setDetail(boolean v)
Set the value of detail.

Specified by:
setDetail in interface IPage
Parameters:
v - Value to assign to detail.

setParentUri

public void setParentUri(java.lang.String v)
Set the value of parentUri.

Specified by:
setParentUri in interface IPage
Parameters:
v - Value to assign to parentUri.