diff options
author | Julien Gouesse <[email protected]> | 2015-09-20 20:29:46 +0200 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2015-09-20 20:29:46 +0200 |
commit | bece393c28092ca2d7bb0e312c747193476e8fbf (patch) | |
tree | 4ac987853b9185b490d7ba14c7e8719d5d148def /ardor3d-core | |
parent | c17c6772cdb8fd35b4fb245149297182239eb4fa (diff) |
Moves the only dependency on AWT in ardor3d-ui into ardor3d-awt
Diffstat (limited to 'ardor3d-core')
-rw-r--r-- | ardor3d-core/src/main/java/com/ardor3d/ui/text/CopyPasteImpl.java | 17 | ||||
-rw-r--r-- | ardor3d-core/src/main/java/com/ardor3d/ui/text/NullCopyPasteImpl.java | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/ardor3d-core/src/main/java/com/ardor3d/ui/text/CopyPasteImpl.java b/ardor3d-core/src/main/java/com/ardor3d/ui/text/CopyPasteImpl.java new file mode 100644 index 0000000..56fd94e --- /dev/null +++ b/ardor3d-core/src/main/java/com/ardor3d/ui/text/CopyPasteImpl.java @@ -0,0 +1,17 @@ +/** + * Copyright (c) 2008-2012 Ardor Labs, Inc. + * + * This file is part of Ardor3D. + * + * Ardor3D is free software: you can redistribute it and/or modify it + * under the terms of its license which may be found in the accompanying + * LICENSE file or at <http://www.ardor3d.com/LICENSE>. + */ + +package com.ardor3d.ui.text; + +public interface CopyPasteImpl { + String getClipBoardContents(); + + void setClipBoardContents(String contents); +} diff --git a/ardor3d-core/src/main/java/com/ardor3d/ui/text/NullCopyPasteImpl.java b/ardor3d-core/src/main/java/com/ardor3d/ui/text/NullCopyPasteImpl.java new file mode 100644 index 0000000..6be0dbc --- /dev/null +++ b/ardor3d-core/src/main/java/com/ardor3d/ui/text/NullCopyPasteImpl.java @@ -0,0 +1,24 @@ +/** + * Copyright (c) 2008-2010 Ardor Labs, Inc. + * + * This file is part of Ardor3D. + * + * Ardor3D is free software: you can redistribute it and/or modify it + * under the terms of its license which may be found in the accompanying + * LICENSE file or at <http://www.ardor3d.com/LICENSE>. + */ + +package com.ardor3d.ui.text; + + +public class NullCopyPasteImpl implements CopyPasteImpl { + + @Override + public String getClipBoardContents() { + return null; + } + + @Override + public void setClipBoardContents(final String contents) {} + +} |