GUI
-
C#GUI/사양 2013. 12. 26. 00:59
WinFormGDI+WPF(Windows Presentation Foundation) System.Windows.Forms.Application // static.Run()System.Windows.Forms.Control -> System.ComponentModel.ComponentSystem.Windows.Forms.ScrollableControl -> System.Windows.Forms.ControlSystem.Windows.Forms.ContainerControl -> System.Windows.Forms.ScrollableControlSystem.Windows.Forms.Form -> System.Windows.Forms.ContainerControlusing System;using Syste..
-
CSS 선택자GUI/Skin 2013. 12. 22. 18:02
- 타입 선택자(type selector)e.g. p { .. } - 전체 선택자(*)e.g.* {padding: 0;margin: 0;} - 클래스 선택자e.g. .datePosted { .. } - 유사 클래스 선택자:aftere.g. a:ink { .. } ID 선택자e.g. #intro { .. } 하위 선택자(decendant selector)e.g. #mainContent h1 { .. } 자식 선택자(child selector)e.g. #nav > li { .. } 인접 형제 선택자(adjacent sibling selector)e.g. h1 + p { .. } 속성 선택자(attribute selector)e.g. abbr[title]:hover { .. }a[rel="nofollow"] ..
-
이벤트 - DOMGUI/컨트롤 2013. 9. 19. 19:48
이벤트 객체.type{mouseover|keypress|submit}.button.keyCode {element}.onclick = function(event) { if (!event) event = window.event; var target = (event.target) ? event.target : event.srcElement; ... }; function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } }} a simple, cro..
-
(X)HTMLGUI/컨트롤 2013. 9. 9. 23:37
{element}.onclick = function(event) { if (!event) event = window.event; var target = (event.target) ? event.target : event.srcElement; ... }; *to query the DOM in CSS-selector style function getNextElement(node) { if(node.nodeType == 1) {return node; } if (node.nextSibling) { return getNextElement(node.nextSibling); } return null;} var container = document.getElementById('container');orvar conta..
-
콘솔 - C#GUI/컨트롤 2013. 8. 21. 18:33
System.ConsoleKeyInfo System.Console // static.BackgroundColor.ForegroundColor.Title .Clear() // static.SetCursorPosition() // static.Write() // static.WriteLine() // static.ReadLine() // static string ReadLine();.ReadKey() // static닷넷 2.0.ResetColor() // static.Beep() // staticusing System; class CSTest{public static void Main() {ConsoleKeyInfo cki;int x = 40, y = 12; for (;;) {Console.Clear();..
-
커스텀 컨트롤 - SwingGUI/컨트롤 2013. 8. 20. 17:44
java.awt.Dimension -> java.awt.geom.Dimension2D javax.swing.border.Border // 인터페이스javax.swing.border.BevelBorder -> javax.swing.border.AbstractBorderjavax.swing.border.LineBorder -> javax.swing.border.AbstractBorderjavax.swing.border.CompoundBorder -> javax.swing.border.AbstractBorder java.awt.Component.addMouseListener() .getSize()java.awt.Container -> java.awt.Component.setLayout()javax.swing...
-
프린트GUI/GDI 2013. 8. 16. 23:51
java.awt.print.Printable // interface.NO_SUCH_PAGE.PAGE_EXISTS int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException;java.awt.print.Pageable // interfaceint getNumberOfPages();PageFormat getPageFormat(int pageIndex) throws IndexOutOfBoundsException;Printable getPrintable(int pageIndex) throws IndexOutOfBoundsException;java.awt.print.PageFormat.getImageableX()..
-
메뉴 - SwingGUI/컨트롤 2013. 8. 6. 15:41
java.util.EventObject.getSource()java.awt.AWTEvent -> java.util.EventObjectjava.awt.event.ActionEvent -> java.awt.AWTEvent javax.swing.ButtonGroup.add() javax.swing.AbstractButton -> javax.swing.JComponent.addActionListener() .setActionCommand().getActionCommand().setMnemonic()javax.swing.JMenuItem -> javax.swing.AbstractButton.setAccelerator()javax.swing.JRadioButtonMenuItem -> javax.swing.JMen..