UniVista.support.screens
Class LinkScreenObject

java.lang.Object
  |
  +--UniVista.support.screens.ScreenObject
        |
        +--UniVista.support.screens.LinkScreenObject
All Implemented Interfaces:
java.lang.Cloneable, PropertyEditorUI, java.io.Serializable

public class LinkScreenObject
extends ScreenObject
implements java.lang.Cloneable, java.io.Serializable

holds a displayable button that establishes a link to another screen

See Also:
Serialized Form

Fields inherited from class UniVista.support.screens.ScreenObject
boundsRect, isDesigning, isPropertyEditorUI, isReadOnly, myDragger, propertyFrame
 
Constructor Summary
LinkScreenObject()
          construct a new LinkScreenObject
 
Method Summary
 java.lang.Object clone()
          clone the object.
 void destroyUI()
          destroy the UI component
 void duplicate(LinkScreenObject toDup)
          duplicate the object.
 java.awt.Rectangle getPreferredBounds()
          Suggest a desired bounds.
 Screen getScreen()
          get the associated screen
 java.lang.String getScreenName()
          retrieve the associated screen name
 javax.swing.JComponent getUI()
          return the UI component
static void main(java.lang.String[] a)
           
 void removePEUI()
          If the system demands the shutdown of the customizer, simply call this method to delegate the message.
 void setDesignMode(boolean id)
          move object into design mode
 void setLinkCallback(Callback cb)
          set the associated callback.
 void setScreen(Screen theScreen)
          set the associated screen
 void setScreenName(java.lang.String theName)
          set the associated screen name
 void setupPEUI()
          Create the parentless customizer upon request.
 javax.swing.JComponent setupUI()
          setup the user interface element and return it
 
Methods inherited from class UniVista.support.screens.ScreenObject
accept, acceptPEUI, addActionListener, duplicate, finalize, fireActionEvent, getBounds, getDesignMode, getReadOnly, implementsPropertyEditorUI, insertPEUI, rejectPEUI, revert, setBounds, setReadOnly
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkScreenObject

public LinkScreenObject()
construct a new LinkScreenObject
Method Detail

clone

public java.lang.Object clone()
clone the object. Note that the Screen object is not cloned but copied as an object reference.
Overrides:
clone in class ScreenObject

destroyUI

public void destroyUI()
destroy the UI component
Overrides:
destroyUI in class ScreenObject

duplicate

public void duplicate(LinkScreenObject toDup)
duplicate the object. Note that the Screen object is not cloned but copied as an object reference

getPreferredBounds

public java.awt.Rectangle getPreferredBounds()
Suggest a desired bounds.
Overrides:
getPreferredBounds in class ScreenObject

getScreen

public Screen getScreen()
get the associated screen

getScreenName

public java.lang.String getScreenName()
retrieve the associated screen name

getUI

public javax.swing.JComponent getUI()
return the UI component
Overrides:
getUI in class ScreenObject

setDesignMode

public void setDesignMode(boolean id)
move object into design mode
Overrides:
setDesignMode in class ScreenObject

setLinkCallback

public void setLinkCallback(Callback cb)
set the associated callback. The callback is invoked when the button is not in design mode and passes the Screen object to the entryPoint.

setScreen

public void setScreen(Screen theScreen)
set the associated screen

setScreenName

public void setScreenName(java.lang.String theName)
set the associated screen name

setupUI

public javax.swing.JComponent setupUI()
setup the user interface element and return it
Overrides:
setupUI in class ScreenObject

setupPEUI

public void setupPEUI()
Create the parentless customizer upon request.
Overrides:
setupPEUI in class ScreenObject
See Also:
UniVista.support.PropertyEditorUI

removePEUI

public void removePEUI()
If the system demands the shutdown of the customizer, simply call this method to delegate the message.
Overrides:
removePEUI in class ScreenObject

main

public static void main(java.lang.String[] a)