Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Member Functions | Static Package Attributes | Private Member Functions | Private Attributes
CH.ifa.draw.util.Clipboard Class Reference

A temporary replacement for a global clipboard. More...

Collaboration diagram for CH.ifa.draw.util.Clipboard:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setContents (Object contents)
 Sets the contents of the clipboard.
Object getContents ()
 Gets the contents of the clipboard.

Static Public Member Functions

static Clipboard getClipboard ()
 Gets the clipboard.

Static Package Attributes

static Clipboard fgClipboard = new Clipboard()

Private Member Functions

 Clipboard ()

Private Attributes

Object fContents

Detailed Description

A temporary replacement for a global clipboard.

It is a singleton that can be used to store and get the contents of the clipboard.

Definition at line 17 of file Clipboard.java.


Constructor & Destructor Documentation

CH.ifa.draw.util.Clipboard.Clipboard ( ) [inline, private]

Definition at line 29 of file Clipboard.java.

                        {
    }

Member Function Documentation

Gets the clipboard.

Definition at line 23 of file Clipboard.java.

                                           {
        return fgClipboard;
    }

Gets the contents of the clipboard.

Definition at line 42 of file Clipboard.java.

                                {
        return fContents;
    }
void CH.ifa.draw.util.Clipboard.setContents ( Object  contents) [inline]

Sets the contents of the clipboard.

Definition at line 35 of file Clipboard.java.

                                             {
        fContents = contents;
    }

Member Data Documentation

Definition at line 27 of file Clipboard.java.

Definition at line 18 of file Clipboard.java.


The documentation for this class was generated from the following file: